New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/formdata

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/formdata

TypeScript definitions for formdata

ts3.6
ts3.7
ts3.8
ts3.9
ts4.0
ts4.1
ts4.2
ts4.3
ts4.4
Source
npmnpm
Version
0.10.1
Version published
Weekly downloads
12K
-9.58%
Maintainers
1
Weekly downloads
 
Created
Source

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

// Type definitions for formdata 0.10
// Project: https://github.com/node-file-api/FormData
// Definitions by: Ciarán Ingle <https://github.com/inglec-arista>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 12:01:48 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Ciarán Ingle.

FAQs

Package last updated on 08 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts