@esm2cjs/p-queue
Version:
Promise queue with concurrency control. This is a fork of sindresorhus/p-queue, but with CommonJS support.
123 lines (122 loc) • 2.25 kB
JSON
{
"name": "@esm2cjs/p-queue",
"version": "7.3.0",
"description": "Promise queue with concurrency control. This is a fork of sindresorhus/p-queue, but with CommonJS support.",
"license": "MIT",
"repository": "esm2cjs/p-queue",
"funding": "https://github.com/sponsors/AlCalzone",
"exports": {
".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=12"
},
"scripts": {
"build": "del build/ && tsc",
"test": "xo && nyc ava",
"bench": "node --loader=ts-node/esm bench.ts"
},
"files": [
"build/"
],
"types": "build/esm/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": {
"@esm2cjs/p-timeout": "^5.0.2",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^2.0.0",
"@types/benchmark": "^2.1.1",
"@types/node": "^17.0.13",
"ava": "^4.0.1",
"benchmark": "^2.1.4",
"codecov": "^3.8.3",
"del-cli": "^4.0.1",
"delay": "^5.0.0",
"in-range": "^3.0.0",
"nyc": "^15.1.0",
"p-defer": "^4.0.0",
"random-int": "^3.0.0",
"time-span": "^5.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"xo": "^0.44.0"
},
"ava": {
"files": [
"test/**"
],
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
},
"xo": {
"rules": {
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-invalid-void-type": "off"
},
"ignores": [
"build",
"test",
"**/*.test-d.ts",
"**/*.d.ts"
]
},
"nyc": {
"extension": [
".ts"
]
},
"author": {
"name": "Dominic Griesel",
"email": "d.griesel@gmx.net"
},
"publishConfig": {
"access": "public"
},
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
"typesVersions": {
"*": {
"build/esm/index.d.ts": [
"build/esm/index.d.ts"
],
"build/cjs/index.d.ts": [
"build/esm/index.d.ts"
],
"*": [
"build/esm/*"
]
}
}
}