Want to do some math in a node.js environment involving really big numbers? Then look into the npm package called big-integer.
Take the following into consideration.
With the problem presented in mind, there may come a time where you might want to use some kind of dependency that stores numbers as a string value, and will have it’s own methods for adding, subtracting, and so forth.
Now the problem is resolved, I can add a very small number to a very large one, and it still counts for what it is worth.
Be sure to check out my many other posts on node.js and npm packages.