noop2
No operation as a module™
Last updated 10 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install noop2 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (9 years ago)

3 Versions

  • 2.0.0                                ...           9 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |