0.0.3 • Published 9 years ago
repal v0.0.3
REPAL
REPL that requires all. Start a interactive node instance with all local packages loaded. Useful when testing installed npm packages. Features:
- Load all npm packages within
node_modules/in the current work directory. - CamelCased package names, for instance: the package named
shopify-liquidwill be loaded asshopifyLiquid.
Install
npm i -g repalUsage
repal # start a REPL node instance
repal --help # print helpDemo
Say you have a project with node_modules:
.
└── node_modules
└── greet.js # containing: module.exports = "Welcome to REPAL!"Via repal you can use foo.js directly in REPL:
$ repal
> foo
'Welcome to REPAL!'
>