This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
noop2 with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
No operation as a module™. The long awaited successor to
does even less than its predecessor, and is 100% tested to guarantee nothing
npm install noop2
var noop = require('noop2'); noop(); // nothing happened
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.