exponential-rate-limit
Advanced tools
Comparing version
{ | ||
"name": "exponential-rate-limit", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "A small library which handles decaying exponential backoff. This is useful if you want to start throttling something whilst it is going wrong, but recover once things start working again.", | ||
"main": "./dist/exponential-rate-limit.js", | ||
"types": "./dist/exponential-rate-limit.d.ts", | ||
"scripts": { | ||
"build": "parcel build --out-dir './dist' --global ExponentialRateLimit ./src/exponential-rate-limit.ts", | ||
"build": "tsc --emitDeclarationOnly && parcel build --out-dir './dist' --global ExponentialRateLimit ./src/exponential-rate-limit.ts", | ||
"buildDemo": "parcel build --out-dir './demo-build' ./src/demo.html", | ||
@@ -9,0 +10,0 @@ "start": "parcel serve --out-dir './demo-build' ./src/demo.html", |
@@ -0,1 +1,2 @@ | ||
[](https://badge.fury.io/js/exponential-rate-limit) | ||
# Exponential Rate Limit | ||
@@ -2,0 +3,0 @@ A small library which handles decaying exponential backoff. This is useful if you want to start throttling something whilst it is going wrong, but recover once things start working again. |
@@ -5,4 +5,9 @@ { | ||
"target": "es5", | ||
"moduleResolution": "node" | ||
} | ||
"moduleResolution": "node", | ||
"declaration": true, | ||
"declarationDir": "./dist" | ||
}, | ||
"include": [ | ||
"src/**.ts" | ||
] | ||
} |
44698
8.43%21
31.25%299
41.04%63
1.61%