Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 25817

Node-noop – Implements a noop function

$
0
0

README.md

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

What it does

Magikarp uses splash attack

Installation

npm install node-noop

Usage

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

Reviews

"Everything that is wrong with the Node ecosystem." — An enlightened Reddit user

Alternatives

The npm package noop (githubhere) 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.


Viewing all articles
Browse latest Browse all 25817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>