form-data
npmv4.0.6TypeScriptA library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
Overview
form-data is an npm package that a library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications. The latest version is 4.0.6, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (27 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of form-data.
Dependencies
Runtime (5)
Dev (22)
Used by
Popular packages that depend on form-data.
Frequently installed together
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Fast, unopinionated, minimalist web framework
TypeScript definitions for node
HTTP server cookie parsing and serialization
Lodash modular utilities.
Node.js body parsing middleware
Next generation testing framework powered by Vite
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
Build and manage the AJV instances for the fastify framework
A small utility for creating warnings and emitting them.
Version history
| Version | Published | License |
|---|---|---|
| 2.5.6 | 1 month ago | MIT |
| 3.0.5 | 1 month ago | MIT |
| 4.0.6latest | 1 month ago | MIT |
| 4.0.5 | 8 months ago | MIT |
| 2.5.5 | 1 year ago | MIT |
| 2.5.4 | 1 year ago | MIT |
| 3.0.4 | 1 year ago | MIT |
| 4.0.4 | 1 year ago | MIT |
| 4.0.3 | 1 year ago | MIT |
| 4.0.2 | 1 year ago | MIT |
| 3.0.3 | 1 year ago | MIT |
| 2.5.3 | 1 year ago | MIT |
| 4.0.1 | 1 year ago | MIT |
| 3.0.2 | 1 year ago | MIT |
| 2.5.2 | 1 year ago | MIT |
| 4.0.0 | 5 years ago | MIT |
| 3.0.1 | 5 years ago | MIT |
| 3.0.0 | 6 years ago | MIT |
| 2.5.1 | 6 years ago | MIT |
| 2.5.0 | 7 years ago | MIT |
Frequently asked questions
How do I install form-data?
Run `npm install form-data` to add form-data to your npm project.
What license is form-data released under?
form-data is distributed under the MIT license.
How popular is form-data?
form-data has approximately 0 downloads per week and 3 known dependent packages.