@types/express-slow-down
Advanced tools
@@ -1,8 +0,9 @@ | ||
| // Type definitions for express-slow-down 1.1 | ||
| // Type definitions for express-slow-down 1.3 | ||
| // Project: https://github.com/nfriedly/express-slow-down | ||
| // Definitions by: Jeremy Forsythe <https://github.com/jdforsythe> | ||
| // Josh Henderson <https://github.com/joshhendo> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.3 | ||
| import express = require("express"); | ||
| import express = require('express'); | ||
@@ -76,2 +77,9 @@ declare namespace SlowDown { | ||
| /** | ||
| * Maximum value for `delayMs` after many consecutive attempts, that is, after the n-th request, | ||
| * the delay will be always `maxDelayMs`. Important when your application is running behind a | ||
| * load balancer or reverse proxy that has a request timeout. Defaults to Infinity. | ||
| */ | ||
| maxDelayMs?: number; | ||
| /** | ||
| * When `true` failed requests (response status >= 400) won't be counted. Defaults to `false`. | ||
@@ -78,0 +86,0 @@ */ |
| { | ||
| "name": "@types/express-slow-down", | ||
| "version": "1.1.1", | ||
| "version": "1.3.0", | ||
| "description": "TypeScript definitions for express-slow-down", | ||
@@ -11,6 +11,11 @@ "license": "MIT", | ||
| "githubUsername": "jdforsythe" | ||
| }, | ||
| { | ||
| "name": "Josh Henderson", | ||
| "url": "https://github.com/joshhendo", | ||
| "githubUsername": "joshhendo" | ||
| } | ||
| ], | ||
| "main": "", | ||
| "types": "index", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
@@ -25,4 +30,4 @@ "type": "git", | ||
| }, | ||
| "typesPublisherContentHash": "5e38c1b3df2024742d042e3544c0578b0972c9f109e4c6af4cee553d0d986646", | ||
| "typeScriptVersion": "2.3" | ||
| "typesPublisherContentHash": "a03417e761840761825e10ac42ce45eebb52aa6194c5b5fc20a32b6e6c7b3217", | ||
| "typeScriptVersion": "2.8" | ||
| } |
@@ -8,10 +8,10 @@ # Installation | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-slow-down | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-slow-down. | ||
| Additional Details | ||
| * Last updated: Mon, 19 Aug 2019 00:51:15 GMT | ||
| * Dependencies: @types/express | ||
| ### Additional Details | ||
| * Last updated: Fri, 31 Jan 2020 22:06:33 GMT | ||
| * Dependencies: [@types/express](https://npmjs.com/package/@types/express) | ||
| * Global values: none | ||
| # Credits | ||
| These definitions were written by Jeremy Forsythe <https://github.com/jdforsythe>. | ||
| These definitions were written by Jeremy Forsythe (https://github.com/jdforsythe), and Josh Henderson (https://github.com/joshhendo). |
6719
11.17%99
7.61%