wyt
Version:
A time-based rate limiter using promises
65 lines (64 loc) • 1.5 kB
JSON
{
"name": "wyt",
"version": "2.0.1",
"description": "A time-based rate limiter using promises",
"keywords": [
"throttle",
"throttling",
"time",
"interval",
"rate limit",
"rate-limit",
"ratelimit",
"rate",
"limit",
"limiter",
"promise",
"concurrency",
"async",
"await",
"bottleneck",
"typescript"
],
"author": "Max Kueng (https://maxkueng.com/contact)",
"license": "MIT",
"homepage": "https://github.com/maxkueng/wyt",
"repository": {
"type": "git",
"url": "git://github.com/maxkueng/wyt.git"
},
"bugs": {
"url": "https://github.com/maxkueng/wyt/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist",
"build": "tsc",
"lint": "eslint src/*.ts",
"lint:fix": "eslint --fix src/*.ts",
"test": "npm-run-all -s lint clean build test:js",
"test:js": "nyc ava",
"publish-coverage": "nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm-run-all -s test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"ava": "^3.6.0",
"coveralls": "^3.0.11",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.1",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=6.10.0"
}
}