node-noop

1.0.0 • Public • Published

node-noop

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.

  • Antoine de Saint-Exupery

Installation

npm install node-noop

Usage

var noop = require('node-noop').noop;
require('fs').writeFile('file.out',"Ignore write failure",noop);

Alternatives

The npm package noop (github here) already has this basic functionality, but it doesn't do it in a very node-like way. He just sticks the noop function on the global scope when you require it.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    12,888
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    12,888
  • 0.0.1
    555

Package Sidebar

Install

npm i node-noop

Weekly Downloads

13,443

Version

1.0.0

License

BSD-2-Clause

Last publish

Collaborators

  • euank