UNPKG

@platformatic/kafka

Version:

Modern and performant client for Apache Kafka

85 lines 3.05 kB
{ "name": "@platformatic/kafka", "version": "1.11.0", "description": "Modern and performant client for Apache Kafka", "homepage": "https://github.com/platformatic/kafka", "author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/platformatic/kafka.git" }, "keywords": [ "kafka" ], "bugs": { "url": "https://github.com/platformatic/kafka/issues" }, "private": false, "files": [ "dist", "LICENSE", "README.md" ], "type": "module", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { "ajv": "^8.17.1", "debug": "^4.4.0", "fastq": "^1.19.1", "mnemonist": "^0.40.3", "scule": "^1.3.0" }, "optionalDependencies": { "lz4-napi": "^2.8.0", "snappy": "^7.2.2" }, "devDependencies": { "@platformatic/rdkafka": "^4.0.0", "@types/debug": "^4.1.12", "@types/node": "^22.17.2", "@types/semver": "^7.7.0", "@watchable/unpromise": "^1.0.2", "avsc": "^5.7.7", "c8": "^10.1.3", "cleaner-spec-reporter": "^0.5.0", "cronometro": "^5.3.0", "eslint": "^9.21.0", "fast-jwt": "^6.0.2", "hwp": "^0.4.1", "json5": "^2.2.3", "kafkajs": "^2.2.4", "neostandard": "^0.12.1", "node-rdkafka": "^3.3.1", "parse5": "^7.2.1", "prettier": "^3.5.3", "prettier-plugin-space-before-function-paren": "^0.0.8", "prom-client": "^15.1.3", "semver": "^7.7.1", "table": "^6.9.0", "typescript": "^5.7.3" }, "engines": { "node": ">= 20.19.4 || >= 22.18.0 || >= 24.6.0" }, "scripts": { "build": "rm -rf dist && tsc -p tsconfig.base.json", "postbuild": "node scripts/postbuild.ts", "lint": "eslint --cache", "typecheck": "tsc -p . --noEmit", "format": "prettier -w benchmarks playground src test", "test": "c8 -c test/config/c8-local.json node --env-file=test/config/env --no-warnings --test --test-timeout=300000 'test/**/*.test.ts'", "test:ci": "c8 -c test/config/c8-ci.json node --env-file=test/config/env --no-warnings --test --test-timeout=300000 'test/**/*.test.ts'", "test:docker:up": "node scripts/docker.ts up -d --wait", "test:docker:down": "node scripts/docker.ts down", "ci": "npm run build && npm run lint && npm run test:ci", "generate:apis": "node scripts/generate-apis.ts", "generate:errors": "node scripts/generate-errors.ts", "create:api": "node scripts/create-api.ts", "build:v20": "rm -rf dist && tsc -p tsconfig.json", "postbuild:v20": "cp package.json dist/package.json && node dist/scripts/postbuild.js", "test:v20": "npm run build:v20 && cp -R test/fixtures dist/test/fixtures && node --env-file=test/config/env --no-warnings --test --test-timeout=300000 dist/test/**/*.test.js", "test:ci:v20": "npm run build:v20 && cp -R test/fixtures dist/test/fixtures && node --env-file=test/config/env --no-warnings --test --test-timeout=300000 dist/test/**/*.test.js" } }