UNPKG

push-it-to-the-limit

Version:

Delay function wrappers for common purposes. Throttle, debounce and ratelimit with promises

69 lines (68 loc) 2 kB
{ "name": "push-it-to-the-limit", "version": "2.0.1", "description": "Delay function wrappers for common purposes. Throttle, debounce and ratelimit with promises", "type": "module", "main": "target/cjs/index.cjs", "exports": { ".": { "types": "./target/dts/index.d.ts", "require": "./target/cjs/index.cjs", "import": "./target/esm/index.mjs", "default": "./target/esm/index.mjs" } }, "module": "target/esm/index.mjs", "types": "./target/dts/index.d.ts", "files": [ "target/cjs", "target/esm", "target/dts" ], "scripts": { "build": "concurrently 'npm:build:*'", "build:esm": "node ./src/scripts/build.cjs", "build:cjs": "node ./src/scripts/build.cjs --cjs", "build:dts": "tsc --emitDeclarationOnly --skipLibCheck --outDir target/dts", "build:docs": "typedoc --options src/main/typedoc", "test": "concurrently 'npm:test:*'", "test:lint": "eslint -c src/test/lint/.eslintrc.json src", "test:unit": "abstractest --runner=native src/test/ts/**/*.test.ts" }, "devDependencies": { "@qiwi/substrate": "^2.0.4", "abstractest": "^0.1.5", "@abstractest/native": "^0.3.4", "@types/node": "^20.4.0", "concurrently": "^8.2.0", "esbuild": "^0.18.11", "esbuild-node-externals": "^1.8.0", "eslint": "^8.44.0", "eslint-config-qiwi": "^2.1.3", "typedoc": "^0.24.8", "typescript": "^5.1.6" }, "repository": { "type": "git", "url": "git+https://github.com/antongolub/push-it-to-the-limit.git" }, "keywords": [ "throttle", "debounce", "rate limit", "ratelimit", "delay", "frequency limiter", "slow down", "promised delay", "interrelated delay", "push-it-to-the-limit", "pittl" ], "author": "Anton Golub <mailbox@antongolub.ru>", "license": "MIT", "bugs": { "url": "https://github.com/antongolub/push-it-to-the-limit/issues" }, "homepage": "https://github.com/antongolub/push-it-to-the-limit#readme" }