Socket
Socket
Sign inDemoInstall

noop2

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    noop2

No operation as a module™


Version published
Weekly downloads
160K
increased by4.39%
Maintainers
1
Install size
4.06 kB
Created
Weekly downloads
 

Readme

Source

noop2

NPM version build status Test coverage Downloads

No operation as a module™. The long awaited successor to noop. Noop2 does even less than its predecessor, and is 100% tested to guarantee nothing happens.

Installation

npm install noop2

Usage

var noop = require('noop2');

noop();
// nothing happened

Why?

This is both a joke and actually useful. Obviously we might be taking npm a bit too far by bundling this as a module, but when running tests it's sometimes nice to be able to import an empty function if only to keep style consistent. So here you have it.

See also

License

MIT

Keywords

FAQs

Last updated on 24 Jul 2015

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