Home / npm packages / form-data

form-data source code

Every file of form-data@4.0.6 as published on npm: 8 files, 84 KB. Search them by exact text or regex, in milliseconds.

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

What form-data uses

APIIn form-data
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: 2 files
e.g. lib/form_data.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 3 files
e.g. lib/form_data.js
See the lines
fetch()
makes HTTP requests
Yes: 1 file
e.g. README.md
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 1 file
e.g. README.md
See the lines
crypto
hashes, encrypts or makes random numbers
Yes: 1 file
e.g. lib/form_data.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
CHANGELOG.md50 KB
lib/form_data.js15 KB
README.md12 KB
package.json3.0 KB
index.d.ts1.8 KB
License1.1 KB
lib/populate.js232 B
lib/browser.js117 B

Questions

How many files are in form-data?

Version 4.0.6 of form-data publishes 8 files of source, 84 KB in all, not counting images, fonts and source maps.

Does form-data use eval?

No: form-data doesn't call eval() anywhere in its published files.

Does form-data start other programs?

No: form-data doesn't use child_process anywhere in its published files.

Does form-data run an install script?

No: form-data 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