UNPKG

1.7 kBJSONView Raw
1{
2 "name": "p-queue",
3 "version": "7.1.0",
4 "description": "Promise queue with concurrency control",
5 "license": "MIT",
6 "repository": "sindresorhus/p-queue",
7 "funding": "https://github.com/sponsors/sindresorhus",
8 "type": "module",
9 "exports": "./dist/index.js",
10 "engines": {
11 "node": ">=12"
12 },
13 "scripts": {
14 "build": "del dist && tsc",
15 "test": "xo && npm run build && nyc ava",
16 "bench": "node --loader=ts-node/esm bench.ts",
17 "prepare": "npm run build"
18 },
19 "files": [
20 "dist"
21 ],
22 "types": "dist/index.d.ts",
23 "keywords": [
24 "promise",
25 "queue",
26 "enqueue",
27 "limit",
28 "limited",
29 "concurrency",
30 "throttle",
31 "throat",
32 "rate",
33 "batch",
34 "ratelimit",
35 "priority",
36 "priorityqueue",
37 "fifo",
38 "job",
39 "task",
40 "async",
41 "await",
42 "promises",
43 "bluebird"
44 ],
45 "dependencies": {
46 "eventemitter3": "^4.0.7",
47 "p-timeout": "^5.0.0"
48 },
49 "devDependencies": {
50 "@sindresorhus/tsconfig": "^1.0.1",
51 "@types/benchmark": "^2.1.0",
52 "@types/node": "^14.14.37",
53 "ava": "^3.15.0",
54 "benchmark": "^2.1.4",
55 "codecov": "^3.8.1",
56 "del-cli": "^3.0.1",
57 "delay": "^5.0.0",
58 "in-range": "^3.0.0",
59 "nyc": "^15.1.0",
60 "random-int": "^2.0.1",
61 "time-span": "^4.0.0",
62 "ts-node": "^9.1.1",
63 "typescript": "^4.2.3",
64 "xo": "^0.38.2"
65 },
66 "ava": {
67 "files": [
68 "test/**"
69 ],
70 "extensions": {
71 "ts": "module"
72 },
73 "nonSemVerExperiments": {
74 "configurableModuleFormat": true
75 },
76 "nodeArguments": [
77 "--loader=ts-node/esm"
78 ]
79 },
80 "xo": {
81 "rules": {
82 "@typescript-eslint/member-ordering": "off",
83 "@typescript-eslint/no-floating-promises": "off",
84 "@typescript-eslint/no-invalid-void-type": "off"
85 }
86 },
87 "nyc": {
88 "extension": [
89 ".ts"
90 ]
91 }
92}