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_PATHNODE_PATH/lib/nodeCMAKE_INSTALL_PREFIX/lib/node--prefix=DIRNODE_PATH
var sbml = require('sbml')
Alternatively, if setting the environment variable
NODE_PATHrequire statement to load the libSBML module:
var sbml = require('/usr/local/lib/node/sbml')