vorpal-use
An extension for Vorpal.
Forgot to install a useful extension in development and now you need it live? No problem.
This will install a use
command into one's Vorpal instance, which will automatically import a given NPM module acting as a Vorpal extension, and register the commands contained inside while the app is still live. This import has an in-memory lifecycle and the module is dumped when the thread quits.
node~$node~$ use vorpal-replInstalling vorpal-repl from the NPM registry:Successfully registered 1 new command.node~$node~$ replnode~$ repl: 6*848node~$ repl:
Installation
npm install vorpal-use --save
Usage
const Vorpal = ;const use = ;let vorpal = ; vorpal ;
License
MIT