README
n_shell
A node REPL with ShellJS loaded by default.
This was inspired by (and forked from) n_.
Like it?
Give it a star on Github
Installation:
$ npm install -g n_shell
Usage:
Invoking n_shell
starts a node REPL with ShellJS required globally, with
shell-like output:
bash $ n_shell
shelljs $ ls()
LICENSE
README.md
bin
node_modules
package.json
src
tmp
shelljs $ pwd()
/path/to/dir
shelljs/global
But I don't want to use No problem:
bash $ n_shell --no_global
shelljs $ typeof ls // not in the global namespace
'undefined'
shelljs $ shell.ls() // uses 'shell' prefix
LICENSE
README.md
bin
node_modules
package.json
src
tmp
shelljs $ shell.pwd()
/path/to/dir
But I want to use a different namespace
You're covered:
bash $ n_shell --no_global=$
shelljs $ $.ls() // now uses '