UNPKG

@penkov/tasks_queue

Version:

A lightweight PostgreSQL-backed task queue system with scheduling, retries, backoff strategies, and priority handling. Designed for efficiency and observability in modern Node.js applications.

81 lines (80 loc) 2.22 kB
{ "name": "@penkov/tasks_queue", "version": "1.1.10", "description": "A lightweight PostgreSQL-backed task queue system with scheduling, retries, backoff strategies, and priority handling. Designed for efficiency and observability in modern Node.js applications.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "clean": "rimraf dist", "lint": "eslint \"{src,test}/**/*.ts\" --fix", "prebuild": "npm run clean && npm run lint", "test": "jest --passWithNoTests", "compile": "tsc --removeComments && tsc --declaration --emitDeclarationOnly", "rollup": "npx rollup dist/index.js --file dist/index.cjs --format cjs", "build": "npm run compile && npm run rollup" }, "exports": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "keywords": [ "task", "queue", "postgres", "task-queue", "job-queue", "scheduling", "retry", "backoff", "priority", "delayed-jobs", "task-runner", "postgresql", "nodejs", "typescript", "distributed", "nest", "cron", "periodic-tasks", "worker", "async" ], "repository": { "type": "git", "url": "git+https://github.com/papirosko/tasks_queue.git" }, "author": "Penkov Vladimir", "license": "ISC", "bugs": { "url": "https://github.com/papirosko/tasks_queue/issues" }, "homepage": "https://github.com/papirosko/tasks_queue#readme", "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^20.14.15", "@typescript-eslint/eslint-plugin": "^8.24.1", "@typescript-eslint/parser": "^8.24.1", "@types/pg": "^8.6.5", "eslint": "^9.21.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.3", "jest": "^29.7.0", "jest-junit": "^15.0.0", "rimraf": "^6.0.1", "rollup": "^4.26.0", "ts-jest": "^29.2.5", "ts-node": "10.4.0", "typescript": "5.8.3" }, "peerDependencies": { "@nestjs/common": "^10.2.5", "@nestjs/core": "^10.2.5", "@nestjs/swagger": "^7.1.11", "application-metrics": "^1.2.1", "log4js": "^6.9.1", "pg": "^8.7.1", "scats": "^1.4.5", "tslib": "^2.3.1" } }