1.0.0 • Published 5 years ago
nodx v1.0.0
NODX
Think of Nodx as if it were Node, except that Nodx will try to resolve any dependency that it encounters synchronously.
Install
$ npm install nodx -g
Usage
// test.js
const _ = require('lodash');
console.log(_.defaults({ 'a': 1 }, { 'a': 3, 'b': 2 }));
$ node test.js
> Error: Cannot find module 'lodash'
Now with nodx
$ nodx test.js [--output]
nodx - resolved lodash@latest
{ a: 1, b: 2 }
Options
- -s, --save\ save dependencies to package.json
- -n, --no-cache\ skip cache
- -o, --output\ output progress
License
ISC