- cmake >= 3.1
- swig
- node >= 0.10.x <7.0.x
- npm
$ cmake -DJAVASCRIPT_BINDING=ON ..
$ make
$ cd javascript
$ npm install --unsafe-perm
More details on swig's javascript bindings can be found at SWIG.
To include the node bindings simply use it with.
var yang = require("./index")