package
A ShellJS plugin for the clear command.
npm install shelljs-plugin-clearGitHub-flavored package documentation.
Across all versions, last 30 days.
5,551 in 30 days
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
5.8 kB
Includes dependencies.
A ShellJS plugin for the clear() command
for REPL use.
$ npm install --save shelljs
$ npm install --save shelljs-plugin-clearTo 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.