1.2.5 • Published 3 years ago

pi-generator.js v1.2.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

N|Solid

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:

1,000,000 Digits Of Pi

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:

100,000 Digits Of Pi

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:

1,000,000 Digits Of Pi

Our Other Projects: https://www.npmjs.com/~uhfinn

1.2.5

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago