Home / npm packages / ethers

ethers source code

Every file of ethers@6.17.0 as published on npm: 727 files, 5.1 MB. Search them by exact text or regex, in milliseconds.

It uses: the fs module, http / https, fetch(), crypto.

What ethers uses

APIIn ethers
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: 3 files
e.g. lib.commonjs/wordlists/generation/encode-latin.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 3 files
e.g. lib.commonjs/utils/geturl.js
See the lines
fetch()
makes HTTP requests
Yes: 13 files
e.g. lib.commonjs/providers/ens-resolver.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 5 files
e.g. lib.commonjs/crypto/crypto.js
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/ethers.umd.min.js527 KB
dist/ethers.min.js522 KB
dist/wordlists-extra.js112 KB
dist/wordlists-extra.min.js86 KB
src.ts/providers/provider.ts66 KB
src.ts/providers/abstract-provider.ts61 KB
CHANGELOG.md60 KB
lib.commonjs/providers/abstract-provider.js53 KB
src.ts/transaction/transaction.ts53 KB
src.ts/abi/fragments.ts53 KB
lib.esm/providers/abstract-provider.js52 KB
lib.commonjs/transaction/transaction.js48 KB
lib.commonjs/abi/fragments.js48 KB
src.ts/providers/provider-jsonrpc.ts47 KB
lib.esm/abi/fragments.js46 KB
lib.esm/transaction/transaction.js46 KB
src.ts/abi/interface.ts45 KB
lib.commonjs/providers/provider.js44 KB
lib.esm/providers/provider.js44 KB
lib.commonjs/abi/interface.js43 KB
lib.commonjs/providers/provider.d.ts41 KB
lib.esm/providers/provider.d.ts41 KB
lib.esm/abi/interface.js41 KB
lib.commonjs/providers/provider-jsonrpc.js40 KB
src.ts/contract/contract.ts40 KB
lib.esm/providers/provider-jsonrpc.js39 KB
lib.commonjs/contract/contract.js36 KB
lib.esm/contract/contract.js35 KB
src.ts/utils/fetch.ts32 KB
lib.commonjs/ethers.js30 KB

Questions

How many files are in ethers?

Version 6.17.0 of ethers publishes 727 files of source, 5.1 MB in all, not counting images, fonts and source maps.

Does ethers use eval?

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

Does ethers start other programs?

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

Does ethers run an install script?

No: ethers 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