1.0.0 • Published 5 years ago

nodx v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

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

1.0.1

5 years ago

1.0.0

5 years ago

0.0.0

10 years ago