node-noop
Implements a noop function
Last updated 5 years ago by euank .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-noop 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

2 Versions

  • 1.0.0                                ...           5 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 514
This Month 1,439
Last Day 63
Last Week 542
Last Month 1,621
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (92)

Copyright 2014 - 2016 © taobao.org |