1.2.5 • Published 3 years ago
pi-generator.js v1.2.5
pigenerator
This NPM package generates infinite digits of pi for you!
Database Generate Example:
const pi = require('pi-generator.js')
console.log(pi("database", 1000000))
Output:
If you wish to generate more than 1 Million Digits of pi you will need to compute it on your computer, Luckily we have a tool that does just that for you!
Compute Example 1
const pi = require('pi-generator.js')
//Without Progress Logging to show you how much has been computed so far
console.log(pi("compute", 100000))
Output:
Compute Example 2
const pi = require('pi-generator.js')
//With Console Progress Logging to show you how much has been computed so far
console.log(pi("compute", 1000000, true))
Output:
Our Other Projects: https://www.npmjs.com/~uhfinn