Home / npm packages / ava

ava source code

Every file of ava@8.0.1 as published on npm: 69 files, 286 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, process.env, the fs module, crypto.

What ava uses

APIIn ava
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
Yes: 1 file
e.g. lib/fork.js
See the lines
process.env
reads environment variables
Yes: 5 files
e.g. lib/cli.js
See the lines
the fs module
reads and writes files
Yes: 10 files
e.g. lib/api.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/snapshot-manager.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/assert.js24 KB
lib/reporters/default.js23 KB
lib/watcher.js23 KB
lib/test.js17 KB
lib/runner.js15 KB
lib/cli.js15 KB
types/assertions.d.ts15 KB
lib/snapshot-manager.js15 KB
lib/api.js10 KB
types/test-fn.d.ts9.5 KB
lib/worker/base.js8.2 KB
readme.md7.9 KB
lib/reporters/tap.js7.1 KB
lib/globs.js6.5 KB
lib/worker/channel.js6.0 KB
lib/run-status.js6.0 KB
lib/plugin-support/shared-worker-loader.js6.0 KB
lib/load-config.js5.6 KB
lib/create-chain.js5.4 KB
lib/fork.js4.0 KB
lib/worker/line-numbers.js3.7 KB
lib/glob-helpers.js3.4 KB
entrypoints/eslint-plugin-helper.js3.1 KB
lib/plugin-support/shared-workers.js3.0 KB
lib/worker/plugin.js3.0 KB
lib/concordance-options.js3.0 KB
package.json3.0 KB
types/state-change-events.d.ts2.9 KB
lib/serialize-error.js2.7 KB
lib/eslint-plugin-helper-worker.js2.3 KB

Questions

How many files are in ava?

Version 8.0.1 of ava publishes 69 files of source, 286 KB in all, not counting images, fonts and source maps.

Does ava use eval?

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

Does ava start other programs?

Yes: ava uses child_process in 1 of its files.

Does ava run an install script?

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