logs-interceptor
Version:
High-performance, production-ready log interceptor for Node.js applications with Loki integration
60 lines (59 loc) • 1.41 kB
JSON
{
"name": "logs-interceptor",
"version": "1.0.0",
"description": "High-performance, production-ready log interceptor for Node.js applications with Loki integration",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"logs-interceptor": "dist/cli.js"
},
"files": [
"dist/**/*",
"preload.js"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"dev": "ts-node src/index.ts",
"prepublishOnly": "npm run build"
},
"keywords": [
"loki",
"logging",
"observability",
"console-interceptor",
"telemetry",
"grafana"
],
"author": "Leonardo Zwirtes",
"license": "MIT",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"axios": "^1.10.0",
"commander": "^14.0.0",
"dotenv": "^16.6.1",
"pino": "^9.7.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^24.0.6",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"eslint": "^9.29.0",
"jest": "^30.0.3",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leozw/logs-interceptor.git"
}
}