nit-tool

0.0.15 • Public • Published

nit

node command line tool to load node module in interactive repl

lets you repl inside a module environment

usage

nit [filename] load filename into repl environment

nit load index.js or cwd.js into repl environment

target module can detect if running inside the repl environment

var debug=module.id==="repl";
//...
if (debug) {
  //code to run when running in repl
}

snit

shell script using nodemon + nit to reload on change

Readme

Keywords

none

Package Sidebar

Install

npm i nit-tool

Weekly Downloads

3

Version

0.0.15

License

MIT

Last publish

Collaborators

  • neu-rah