Socket
Socket
Sign inDemoInstall

shelljs-plugin-clear

Package Overview
Dependencies
25
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    shelljs-plugin-clear

A ShellJS plugin for the clear command.


Version published
Maintainers
1
Install size
5.25 kB
Created

Changelog

Source

v0.2.1 (2022-01-14)

Full Changelog

Fixed bugs:

  • fix: use new attribute for repl inspection #12 (nfischer)

Merged pull requests:

Readme

Source

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.

Keywords

FAQs

Last updated on 14 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc