82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"name": "p-queue",
|
|
"version": "9.1.2",
|
|
"description": "Promise queue with concurrency control",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/p-queue",
|
|
"funding": "https://github.com/sponsors/sindresorhus",
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "del-cli dist && tsc",
|
|
"test": "xo && node --import=tsx/esm --test test/*.ts && del-cli dist && tsc && tsd",
|
|
"bench": "node --import=tsx/esm bench.ts",
|
|
"prepublishOnly": "del-cli dist && tsc"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"types": "dist/index.d.ts",
|
|
"keywords": [
|
|
"promise",
|
|
"queue",
|
|
"enqueue",
|
|
"limit",
|
|
"limited",
|
|
"concurrency",
|
|
"throttle",
|
|
"throat",
|
|
"rate",
|
|
"batch",
|
|
"ratelimit",
|
|
"priority",
|
|
"priorityqueue",
|
|
"fifo",
|
|
"job",
|
|
"task",
|
|
"async",
|
|
"await",
|
|
"promises",
|
|
"bluebird"
|
|
],
|
|
"dependencies": {
|
|
"eventemitter3": "^5.0.1",
|
|
"p-timeout": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^8.0.1",
|
|
"@types/benchmark": "^2.1.5",
|
|
"@types/node": "^24.5.1",
|
|
"benchmark": "^2.1.4",
|
|
"del-cli": "^6.0.0",
|
|
"delay": "^6.0.0",
|
|
"in-range": "^3.0.0",
|
|
"p-defer": "^4.0.1",
|
|
"random-int": "^3.1.0",
|
|
"time-span": "^5.1.0",
|
|
"tsd": "^0.33.0",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.9.2",
|
|
"xo": "^1.2.2"
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"@typescript-eslint/member-ordering": "off",
|
|
"@typescript-eslint/no-floating-promises": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-return": "off",
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
"@typescript-eslint/prefer-promise-reject-errors": "off",
|
|
"ava/no-import-test-files": "off"
|
|
}
|
|
}
|
|
}
|