Going deeper inside of the PI number.
You can install the package globally and use it as command line tool:
$ npm i -g pi
pi --help and see what the CLI tool can do.
$ pi --help 3
Here is an example how to use this package as library. To install it locally, as library, you can do that using
$ npm i --save pi
const PI = ;// Get first three decimalsconsole;// => 3.141console;// => First 16 decimals: 141592653589793
There are few ways to get help:
For full API reference, see the DOCUMENTATION.md file.
Have an idea? Found a bug? See how to contribute.
I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
Starring and sharing the projects you like 🚀
Bitcoin—You can send me bitcoins at this address (or scanning the code below):