A Node.js port of @ymendel's seminal Ruby gem, nO_op.
This library offers a lightweight way to render judgment upon other people's code without resorting to actually doing the work to improve things or communicate productively with other humans.
To get started, just:
$ npm i --save no_op
And then, literally anywhere in your code (don't worry about assignment, the library makes sure to do everything globally):
require('no_op')
add = function(a, b) { return a + b }
add([], [])
O_o
You can also use:
o_O
o.O
O.o
As a bonus, this library also implements the function o_
on Object
's
prototype, so that it can be invoked as a sort of judgmental tap:
[1,2,3].o_().indexOf(2)
This project is distributed under the GPL, but commercial licensing is also available. Please contact @searls for details.