Skip to main content
FOSSA Logo
Skip to package details

form-data

npm2.4k GitHub stars

v4.0.6 · Jun 2026 · MIT (top-level declared license)

npm install form-data
  • No known CVEs
  • 686.3M downloads/mo
  • 53 versions

Description

A module to create readable `"multipart/form-data"` streams. Can be used to submit forms and file uploads to other web applications.

Licenses

Declared license

MIT (top-level declared license of form-data)

Transitive dependency licenses

form-data pulls in 22 transitive dependencies, all under the permissive MIT license.

LicenseCategoryDependencies
MITPermissive22 of 22

This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.

Need form-data approved? Get the full license and vulnerability report for your codebase. Scan free.

Scan free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
2.5.6Jun 2026
3.0.5Jun 2026
4.0.6Jun 2026MIT
4.0.5Nov 2025
2.5.5Jul 2025
2.5.4YankedJul 2025
3.0.4Jul 2025
4.0.4Jul 2025
4.0.3Jun 2025
4.0.2Feb 2025
3.0.3Feb 2025
2.5.3Feb 2025
4.0.1Oct 2024
3.0.2Oct 2024
2.5.2Oct 2024
4.0.0Feb 2021
3.0.1Feb 2021
3.0.0Nov 2019
2.5.1Aug 2019
2.5.0Jul 2019
2.4.0Jun 2019
2.3.3Oct 2018
2.3.2Feb 2018
2.3.1Aug 2017
2.2.0Jun 2017
23 older releases
Older published versions
VersionPublishedLicense
2.1.4Apr 2017
2.1.2Nov 2016
2.1.1Oct 2016
2.1.0Sep 2016
2.0.0Sep 2016
1.0.1Aug 2016
1.0.0Aug 2016
0.2.0Dec 2014
0.1.4Jun 2014
0.1.3Jun 2014
0.1.2Oct 2013
0.1.1Aug 2013
0.1.0Jul 2013
0.0.10May 2013
0.0.9Apr 2013
0.0.8Apr 2013
0.0.7Feb 2013
0.0.6Jan 2013
0.0.5Dec 2012
0.0.4Sep 2012
0.0.3Aug 2012
0.0.2Jul 2012
0.0.0May 2011

Latest pre-release: 2.3.2-rc1 (Feb 2018). Pre-releases (canary, beta, release candidate and similar) are not listed.

npm install form-data resolves to the 4.x line today. Older major lines may still receive fixes.

Dependencies

Direct dependencies

5 direct dependencies, 22 in total including transitive. Licenses across the full tree are summarized under Licenses.

Direct dependencies
PackageVersion rangeLicense
asynckit^0.4.0MIT
combined-stream^1.0.8MIT
es-set-tostringtag^2.1.0MIT
hasown^2.0.4MIT
mime-types^2.1.35MIT

Dependents

  • axios
  • request

Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.

Popularity

Downloads last month
686.3M
Known dependents in this corpus
271,742
GitHub stars
2.4k
OpenSSF score
5.4 / 10

FAQ

What is the latest version of form-data?
The latest version of form-data is 4.0.6, published June 2026.
What license is form-data under?
form-data declares MIT as its top-level declared license. Its dependency tree spans 1 distinct licenses.
Does form-data have known vulnerabilities?
No known CVEs are recorded against published versions of form-data.
How do I install form-data?
Install form-data with npm install form-data.
How do I generate an SBOM that includes form-data?
FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes form-data. Generate an SPDX or CycloneDX SBOM free.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Download counts from the npm public registry API.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.