Determines whether something is equal to PI or not.
- Per project:
npm i is-pi --save
- Globally:
npm i -g is-pi
var isPI = require('is-pi');
console.log(isPI(3.14)); // true
console.log(isPI('unicorn')); // false
npm test
Of course this is not serious. After a guy broke npm builds worldwide by removing his packages (see his rant), people started to create useless and tiny npm modules as a joke, such as is-thirteen or noop3.