# @types/formdata

> TypeScript definitions for formdata

Latest version **0.10.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/formdata
pnpm add @types/formdata
yarn add @types/formdata
bun add @types/formdata
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.10.4 |
| Published | 2023-11-07 |
| First published | 2020-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51418 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/formdata
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata
- npm.io page: https://npm.io/package/@types/formdata

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 0.10.4 (latest) — 2023-11-07
- 0.10.1 (ts3.6) — 2021-07-08
- 0.10.0 (ts3.0) — 2020-07-21
- 0.10.3 — 2023-10-18
- 0.10.2 — 2023-09-14

## README

# Installation
> `npm install --save @types/formdata`

# Summary
This package contains type definitions for formdata (https://github.com/node-file-api/FormData).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/formdata/index.d.ts)
````ts
/// <reference types="node" />
import { EventEmitter } from "events";

declare class FormData {
    nodeChunkedEncoding: boolean;

    boundary?: string | undefined;
    type?: string | undefined;

    append(key: keyof any, value: unknown): Error | undefined;
    getContentType(): string;
    serialize(intendedType?: string): EventEmitter | undefined;
    setNodeChunkedEncoding(val: boolean): void;
}

export = FormData;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Ciarán Ingle](https://github.com/inglec-arista).

---
_Source: https://npm.io/package/@types/formdata · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
