JSPM

noop2

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 158031
  • Score
    100M100P100Q166853F
  • License MIT

No operation as a module™

Package Exports

  • noop2

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (noop2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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