Home / npm packages / bignumber.js

bignumber.js source code

Every file of bignumber.js@11.1.5 as published on npm: 9 files, 500 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module, crypto.

What bignumber.js uses

APIIn bignumber.js
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 1 file
e.g. package.json
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 3 files
e.g. dist/bignumber.d.cts
See the lines
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
dist/bignumber.js91 KB
dist/bignumber.cjs91 KB
dist/bignumber.mjs91 KB
dist/bignumber.d.mts70 KB
dist/bignumber.d.cts70 KB
dist/bignumber.d.ts70 KB
README.md13 KB
package.json1.8 KB
LICENCE.md1.1 KB

Questions

How many files are in bignumber.js?

Version 11.1.5 of bignumber.js publishes 9 files of source, 500 KB in all, not counting images, fonts and source maps.

Does bignumber.js use eval?

No: bignumber.js doesn't call eval() anywhere in its published files.

Does bignumber.js start other programs?

No: bignumber.js doesn't use child_process anywhere in its published files.

Does bignumber.js run an install script?

No: bignumber.js has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine