UNPKG

leaky-bucket-queue

Version:

An implementation of burstable throtling algorithm on top of rxjs

53 lines (52 loc) 1.5 kB
{ "name": "leaky-bucket-queue", "version": "0.0.2", "description": "An implementation of burstable throtling algorithm on top of rxjs", "main": "lib/cjs/index.js", "module": "lib/es/index.js", "scripts": { "build": "npm-run-all --parallel build:cjs build:es", "build:cjs": "tsc", "build:es": "tsc -p tsconfig.es.json", "build:prod": "npm-run-all -p build:prod:*", "build:prod:cjs": "tsc --incremental false", "build:prod:es": "tsc -p tsconfig.es.json --incremental false", "clean": "rimraf lib", "clean:cjs": "rimraf lib/cjs", "clean:es": "rimraf lib/es", "coverage": "npm run test -- --coverage", "lint": "eslint ./src/**/*.ts", "test": "jest --runInBand", "test:watch": "npm run test -- --watch --runInBand", "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --watchAll --runInBand", "prepack": "npm-run-all clean build:prod" }, "keywords": [ "leaky", "bucket", "leaky bucket", "leaky-bucket", "rate", "rate-control", "rate-limit", "throtle", "throtling", "queue" ], "author": "Sean P.L. WONG", "license": "MIT", "devDependencies": { "@types/jest": "^24.0.18", "@typescript-eslint/eslint-plugin": "^2.0.0", "@typescript-eslint/parser": "^2.0.0", "eslint": "^6.2.2", "jest": "^24.9.0", "npm-run-all": "^4.1.5", "rimraf": "^3.0.0", "ts-jest": "^24.0.2", "typescript": "^3.5.3" }, "dependencies": { "rxjs": "^6.5.2" } }