https://github.com/euank/node-noop
Does nothing
https://github.com/euank/node-noop
i-cant-believe-its-not-butter ironically-shitty javascript left-pad-level-dumb-module noop satire
Last synced: about 2 months ago
JSON representation
Does nothing
- Host: GitHub
- URL: https://github.com/euank/node-noop
- Owner: euank
- License: bsd-2-clause
- Created: 2013-09-23T03:29:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T08:38:45.000Z (8 months ago)
- Last Synced: 2025-04-02T04:05:00.264Z (2 months ago)
- Topics: i-cant-believe-its-not-butter, ironically-shitty, javascript, left-pad-level-dumb-module, noop, satire
- Language: JavaScript
- Size: 65.4 KB
- Stars: 130
- Watchers: 3
- Forks: 7
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
What it does
------------
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 userAlternatives
------------
The npm package `noop` (github
[here](https://github.com/coolaj86/javascript-noop) already has
this basic functionality, but it doesn't do it in a very node-like way.
It just sticks the noop function on the global scope when you require it.[Here's a list of a lot of noop packages on NPM](https://github.com/tj-commits/noop-packages), including this one.