Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@types/express-request-id
Advanced tools
TypeScript definitions for express-request-id
npm install --save @types/express-request-id
This package contains type definitions for express-request-id (https://github.com/floatdrop/express-request-id).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id.
// Type definitions for express-request-id 1.4
// Project: https://github.com/floatdrop/express-request-id
// Definitions by: jgeth <https://github.com/jgeth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { RequestHandler } from 'express-serve-static-core';
declare namespace expressRequestId {
interface Options {
uuidVersion?: string | undefined;
setHeader?: boolean | undefined;
headerName?: string | undefined;
attributeName?: string | undefined;
msecs?: Date;
nsecs?: number;
clockseq?: number;
node?: number[];
}
}
declare function expressRequestId(options?: expressRequestId.Options): RequestHandler;
export = expressRequestId;
These definitions were written by jgeth.
FAQs
Stub TypeScript definitions entry for express-request-id, which provides its own types definitions
We found that @types/express-request-id 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.