Home / npm packages / istanbul

istanbul source code

Every file of istanbul@0.4.5 as published on npm: 55 files, 305 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), process.env, the fs module, crypto.

What istanbul uses

APIIn istanbul
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 3 files
e.g. index.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 4 files
e.g. README.md
See the lines
the fs module
reads and writes files
Yes: 17 files
e.g. lib/config.js
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: 1 file
e.g. lib/instrumenter.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
lib/instrumenter.js45 KB
lib/report/html.js22 KB
lib/assets/vendor/prettify.js18 KB
lib/config.js15 KB
CHANGELOG.md15 KB
lib/object-utils.js14 KB
lib/command/common/run-with-cover.js12 KB
README.md12 KB
lib/command/instrument.js11 KB
lib/report/clover.js7.8 KB
lib/hook.js7.7 KB
lib/command/check-coverage.js7.7 KB
lib/report/cobertura.js7.3 KB
lib/report/text.js7.1 KB
lib/util/tree-summarizer.js6.5 KB
lib/assets/sorter.js5.2 KB
lib/assets/base.css5.1 KB
package.json4.7 KB
lib/command/report.js4.7 KB
lib/collector.js4.7 KB
index.js4.3 KB
lib/command/help.js4.3 KB
lib/util/file-writer.js4.2 KB
lib/store/index.js4.1 KB
lib/reporter.js3.7 KB
lib/report/lcovonly.js3.5 KB
lib/report/index.js3.4 KB
lib/report/text-summary.js3.3 KB
lib/util/insertion-text.js3.1 KB
lib/report/teamcity.js3.1 KB

Questions

How many files are in istanbul?

Version 0.4.5 of istanbul publishes 55 files of source, 305 KB in all, not counting images, fonts and source maps.

Does istanbul use eval?

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

Does istanbul start other programs?

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

Does istanbul run an install script?

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