repal

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i repal

Weekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • harttle