0.0.15 • Published 8 years ago
nit-tool v0.0.15
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