A ShellJS plugin for the
for REPL use.
$ npm install --save shelljs $ npm install --save shelljs-plugin-clear
To use this plugin in your REPL, include it like so:
> require('shelljs-plugin-clear'); > var shell = require('shelljs'); > shell.clear();
If you're interested in taking a look at the current state of the plugin API, take a look at index.js. This has helpful comments explaining the necessary boilerplate for writing a plugin. For an example usage of the plugin, take a look at test/test.js.