
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@types/express-formidable
Advanced tools
npm install --save @types/express-formidable
This package contains type definitions for express-formidable (https://github.com/noraesae/express-formidable).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-formidable.
// Type definitions for express-formidable 1.0
// Project: https://github.com/noraesae/express-formidable
// Definitions by: Torkild Dyvik Olsen <https://github.com/tdolsen>, Evan Shortiss <https://github.com/evanshortiss>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as express from "express";
import { Fields, Files } from "formidable";
// Extend the express request object with attached formidable files and fields
declare global {
namespace Express {
interface Request {
fields?: Fields | undefined;
files?: Files | undefined;
}
}
}
interface ExpressFormidableOptions {
encoding?: string | undefined;
uploadDir?: string | undefined;
keepExtensions?: boolean | undefined;
type?: "multipart" | "urlencoded" | undefined;
maxFileSize?: number | undefined;
maxFieldsSize?: number | undefined;
maxFields?: number | undefined;
hash?: boolean | "sha1" | "md5" | undefined;
multiples?: boolean | undefined;
}
declare function ExpressFormidable(options?: ExpressFormidableOptions): express.RequestHandler;
declare namespace ExpressFormidable {}
export = ExpressFormidable;
These definitions were written by Torkild Dyvik Olsen, and Evan Shortiss.
FAQs
TypeScript definitions for express-formidable
The npm package @types/express-formidable receives a total of 3,930 weekly downloads. As such, @types/express-formidable popularity was classified as popular.
We found that @types/express-formidable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.