Skip to content

gergelypap/is-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

π?

Determines whether something is equal to PI or not.

Installation

  • Per project: npm i is-pi --save
  • Globally: npm i -g is-pi

Usage

  var isPI = require('is-pi');
  console.log(isPI(3.14)); 		// true
  console.log(isPI('unicorn')); // false

Tests

npm test

Why?

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.

Releases

No releases published

Packages

No packages published