@awesomeniko/kafka-trail
Version:
A Node.js library for managing message queue with Kafka
87 lines (86 loc) • 2.87 kB
JSON
{
"name": "@awesomeniko/kafka-trail",
"version": "0.3.5",
"description": "A Node.js library for managing message queue with Kafka",
"type": "module",
"publishConfig": {
"access": "public"
},
"keywords": [
"Kafka",
"Kafkajs",
"Message queue",
"Service",
"Microservice",
"Producer",
"Consumer",
"Typescript",
"Nodejs"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Nikolai Terskikh",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AwesomeNiko/kafka-trail.git"
},
"scripts": {
"lint": "yarn lint:check",
"lint:check": "yarn typecheck && eslint --max-warnings 0 --format stylish \"./**/*.ts{,x}\"",
"lint:fix": "eslint --fix --max-warnings 0 --format stylish \"./**/*.ts{,x}\"",
"typecheck": "tsc --noEmit -p tsconfig.json",
"build:native": "node -e \"const fs=require('node:fs'); const path=require('node:path'); for (const name of fs.readdirSync('native/lz4')) { if (name.endsWith('.node')) fs.rmSync(path.join('native/lz4', name), { force: true }); }\" && cd native/lz4 && napi build --platform --release",
"build:ts": "rimraf dist && tsc -P tsconfig.build.json",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.unit.json --detectOpenHandles",
"test:int": "node --env-file-if-exists=.env --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.int.json --detectOpenHandles",
"test": "yarn test:unit && yarn test:int",
"prepare": "husky",
"start": "NODE_PATH=./dist node --enable-source-maps dist/test-run.js",
"build": "yarn build:native && yarn build:ts",
"dev": "npm run build && npm run start"
},
"dependencies": {
"@aws-sdk/client-glue": "3.1060.0",
"kafkajs": "^2.2.4",
"pino": "10.3.1",
"uuid": "14.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@jest/globals": "^30.3.0",
"@napi-rs/cli": "^3.6.2",
"@opentelemetry/api": "^1.9.1",
"@types/jest": "^30.0.0",
"@types/node": "25.9.1",
"@typescript-eslint/eslint-plugin": "8.60.1",
"@typescript-eslint/parser": "8.60.1",
"ajv": "^8.18.0",
"eslint": "10.4.1",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.15.2",
"eslint-plugin-unused-imports": "4.4.1",
"husky": "^9",
"jest": "^30.3.0",
"minimatch": "10.2.5",
"prettier": "3.8.3",
"rimraf": "^6.1.3",
"ts-jest": "29.4.11",
"typescript": "6.0.3",
"zod": "^4.3.6"
},
"resolutions": {
"**/fast-xml-parser": "5.7.0"
},
"files": [
"dist",
"native/lz4/index.cjs",
"native/lz4/index.d.cts",
"native/lz4/*.node",
"LICENSE",
"README.md"
]
}