Socket
Socket
Sign inDemoInstall

@types/express-request-id

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/express-request-id - npm Package Compare versions

Comparing version 1.4.3 to 3.0.0

25

express-request-id/package.json
{
"name": "@types/express-request-id",
"version": "1.4.3",
"description": "TypeScript definitions for express-request-id",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id",
"license": "MIT",
"contributors": [
{
"name": "jgeth",
"url": "https://github.com/jgeth",
"githubUsername": "jgeth"
}
],
"version": "3.0.0",
"description": "Stub TypeScript definitions entry for express-request-id, which provides its own types definitions",
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/express-request-id"
},
"scripts": {},
"license": "MIT",
"dependencies": {
"@types/express-serve-static-core": "*"
"express-request-id": "*"
},
"typesPublisherContentHash": "1a3d3472161fc70f9b6a111d4965a686af34bde48cc4457a338458c278691b7f",
"typeScriptVersion": "3.7"
"deprecated": "This is a stub types definition. express-request-id provides its own type definitions, so you do not need this installed."
}

44

express-request-id/README.md

@@ -1,43 +0,3 @@

# Installation
> `npm install --save @types/express-request-id`
This is a stub types definition for @types/express-request-id (https://github.com/floatdrop/express-request-id#readme).
# Summary
This package contains type definitions for express-request-id (https://github.com/floatdrop/express-request-id).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id/index.d.ts)
````ts
// 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;
````
### Additional Details
* Last updated: Thu, 16 Sep 2021 23:01:22 GMT
* Dependencies: [@types/express-serve-static-core](https://npmjs.com/package/@types/express-serve-static-core)
* Global values: none
# Credits
These definitions were written by [jgeth](https://github.com/jgeth).
express-request-id provides its own type definitions, so you don't need @types/express-request-id installed!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc