The libSBML JavaScript interface is currently only designed to be used
with Node.js. After you
have installed libSBML on your system, you may need to perform one more step
to enable you and your users to access libSBML from Node.js: inform Node.js
where to find the libSBML module. One approach to doing this is to set the
NODE_PATH
NODE_PATH
/lib/node
CMAKE_INSTALL_PREFIX
/lib/node
--prefix=
DIRNODE_PATH
var sbml = require('sbml')
Alternatively, if setting the environment variable
NODE_PATH
require
statement to load the libSBML module:
var sbml = require('/usr/local/lib/node/sbml')