Home / npm packages / tape

tape source code

Every file of tape@5.10.2 as published on npm: 175 files, 477 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), child_process, process.env, the fs module, http / https.

What tape uses

APIIn tape
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 13 files
e.g. example/array.js
See the lines
child_process
starts other programs
Yes: 13 files
e.g. test/common.js
See the lines
process.env
reads environment variables
Yes: 7 files
e.g. bin/tape
See the lines
the fs module
reads and writes files
Yes: 2 files
e.g. bin/tape
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 2 files
e.g. test/async-await/async5.js
See the lines
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
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
CHANGELOG.md166 KB
lib/test.js32 KB
readme.markdown26 KB
test/throws.js15 KB
test/intercept.js13 KB
test/stackTrace.js11 KB
test/match.js9.3 KB
test/edge-cases.js9.1 KB
test/teardown.js8.6 KB
test/timeoutAfter.js8.2 KB
lib/test.d.ts7.8 KB
test/async-await.js7.7 KB
lib/results.js7.1 KB
test/numerics.js6.4 KB
test/common.js6.2 KB
index.js6.2 KB
test/exit.js6.0 KB
test/not-deep-equal-failure.js5.6 KB
test/import.js5.6 KB
test/deep-equal-failure.js5.4 KB
index.d.ts4.6 KB
package.json4.6 KB
test/capture.js4.0 KB
test/comment.js4.0 KB
bin/tape3.9 KB
test/assertion.js3.6 KB
test/no_only.js3.4 KB
test/promise_fail.js3.4 KB
test/ignore_from_gitignore.js3.2 KB
eslint.config.mjs2.7 KB

Questions

How many files are in tape?

Version 5.10.2 of tape publishes 175 files of source, 477 KB in all, not counting images, fonts and source maps.

Does tape use eval?

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

Does tape start other programs?

Yes: tape uses child_process in 13 of its files.

Does tape run an install script?

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