Skip to content

searls/nO_op.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

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')

Examples

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)

Licensing

This project is distributed under the GPL, but commercial licensing is also available. Please contact @searls for details.

About

A port of @ymendel's nO_op Ruby gem for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published