Node.js runtime which works on fibjs platform. You should use this module only when you want to use some Node.js's module; please use fibjs native module first!
$ npm i @fibjs/node --save
const node = require('@fibjs/node');
const mod1 = node('mod1');
const mod2 = node.require('mod2');
// or you can run a js file
node.run('./app.js'); // path to js file
Also, this module can be used as a cli. You can invoke like this:
$ ./node_modules/.bin/node app.js
node()
require a npm module.node.require()
require a npm module.node.run()
execute a Node.js js script file.
Please open an issue here.