🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

exponential-rate-limit

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

exponential-rate-limit - npm Package Compare versions

Comparing version

to
1.1.0

dist/decaying-value.d.ts

5

package.json
{
"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",

1

README.md

@@ -0,1 +1,2 @@

[![npm version](https://badge.fury.io/js/exponential-rate-limit.svg)](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"
]
}