@alwatr/async-queue
Version:
A queue that executes async tasks in order like mutex and semaphore methodology for javascript and typescript.
88 lines (87 loc) • 2.41 kB
JSON
{
"name": "@alwatr/async-queue",
"description": "A queue that executes async tasks in order like mutex and semaphore methodology for javascript and typescript.",
"version": "5.5.14",
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
"bugs": "https://github.com/Alwatr/nanolib/issues",
"dependencies": {
"@alwatr/flatomise": "5.5.14"
},
"devDependencies": {
"@alwatr/nano-build": "6.2.1",
"@alwatr/prettier-config": "5.0.3",
"@alwatr/tsconfig-base": "6.0.1",
"@alwatr/type-helper": "6.1.0",
"jest": "^30.1.3",
"typescript": "^5.9.2"
},
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
}
},
"files": [
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
"LICENSE",
"!demo/**/*"
],
"homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/async-queue#readme",
"keywords": [
"alwatr",
"async",
"async-queue",
"cross-platform",
"ECMAScript",
"esm",
"javascript",
"lock",
"module",
"mutex",
"nanolib",
"node",
"nodejs",
"queue",
"semaphore",
"semaphore-slim",
"SemaphoreSlim",
"spin-lock",
"SpinLock",
"typescript",
"util",
"utility",
"utils"
],
"license": "MPL-2.0",
"main": "./dist/main.cjs",
"module": "./dist/main.mjs",
"prettier": "@alwatr/prettier-config",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/Alwatr/nanolib",
"directory": "packages/async-queue"
},
"scripts": {
"b": "yarn run build",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"clean": "rm -rfv dist *.tsbuildinfo",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"t": "yarn run test",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
"w": "yarn run watch",
"watch": "yarn run watch:ts & yarn run watch:es",
"watch:es": "yarn run build:es --watch",
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
},
"type": "module",
"types": "./dist/main.d.ts",
"gitHead": "7af0290f1dc91cce15d1324c026354a81c7e64ca"
}