shelljs-plugin-clear

0.2.1 • Public • Published

shelljs-plugin-clear

Build Status npm shelljs-plugin

A ShellJS plugin for the clear() command for REPL use.

Installation

$ npm install --save shelljs
$ npm install --save shelljs-plugin-clear

Usage

To use this plugin in your REPL, include it like so:

> require('shelljs-plugin-clear');
> var shell = require('shelljs');
> shell.clear();

Writing plugins

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.

/shelljs-plugin-clear/

    Package Sidebar

    Install

    npm i shelljs-plugin-clear

    Weekly Downloads

    14

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    3.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • nfischer