2.0.0 • Published 9 years ago
instreq v2.0.0
Description
npm i --save instreq
Like require()
but installs modules if not found in ./node_modules
(runsnpm i [mod] --save')
This is mainly useful for the Node REPL.
Usage
$ npm init
$ npm i instreq
$ node
> require('instreq')
> moment=instreq('moment')
> moment().format()