# form-data/form-data

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

Repository: https://github.com/form-data/form-data
Canonical: https://ross.abutalabs.com/products/form-data
Homepage: https://www.npmjs.com/form-data
Language: JavaScript
License: MIT
License Family: permissive
Topics: formdata, stream, xhr2-fd, nodejs, server
Last push: 2026-06-12T18:13:20+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 5588, "days_push": 82, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2355, forks 402 (observed 2026-08-28T04:06:40.553441+00:00)

## What it is
A Node.js library for creating readable multipart/form-data streams, inspired by the XMLHttpRequest-2 FormData interface. It supports appending strings, buffers, and file streams, and can submit forms and file uploads to other web applications.

## Use cases
- upload files to an http endpoint from node
- build multipart/form-data request bodies with streams
- submit forms programmatically to web applications
- append buffers and file streams to a form payload
- mimic browser FormData in nodejs

## When to choose
- you need multipart/form-data uploads in Node.js with stream support
- you want an API matching the browser FormData interface
- you need to upload large files without buffering them in memory

## When to avoid
- you are in a browser and can use the native FormData API
- you only need JSON request bodies
- you are using fetch with built-in FormData support and don't need stream submission

## Facets
- artifact type: library
- maturity: stable
- function: http-client, serialization, file-upload
- domain: web-development, backend, apis, developer-tools
- platform: serverless
- tags: multipart-form-data, file-upload, streams, formdata, npm, nodejs

## Member repositories
- form-data/form-data (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.553441+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:26.912815+00:00, confidence not recorded.
  - readme: https://github.com/form-data/form-data (fetched 2026-08-28T04:06:40.553441+00:00, sha 06fa49bf553e)
  - registry_npm: https://registry.npmjs.org/form-data (fetched 2026-08-29T10:17:19.459617+00:00, sha 60eaa2739b15)
- Data as of 2026-08-30T08:39:29.467469+00:00.
