node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

tau

tau

A simpler alternative to Math.PI

npm install tau --save

Usage

Math.TAU = require('tau');

Doesn't explicitly modify the native Math object as it is considered bad style.