0.0.3 • Published 7 years ago

repal v0.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

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-liquid will be loaded as shopifyLiquid.

Install

npm i -g repal

Usage

repal           # start a REPL node instance
repal --help    # print help

Demo

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!'
>