noop2

No operation as a module™

  • noop2

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
noop2
1832.0.08 years ago8 years agoMinified + gzip package size for noop2 in KB

Readme

noop2
!NPM versionnpm-imagenpm-url !build statustravis-imagetravis-url !Test coveragecoveralls-imagecoveralls-url !Downloadsdownloads-imagedownloads-url
No operation as a module™. The long awaited successor to noopnoop1. 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