UNPKG

unnbound-logger-sdk

Version:

A structured logging library with TypeScript support using Pino. Provides consistent, well-typed logging with automatic logId, workflowId, traceId, and deploymentId tracking across operational contexts.

91 lines (90 loc) 2.55 kB
{ "name": "unnbound-logger-sdk", "version": "2.0.9", "description": "A structured logging library with TypeScript support using Pino. Provides consistent, well-typed logging with automatic logId, workflowId, traceId, and deploymentId tracking across operational contexts.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "npx jest", "test:coverage": "npx jest --coverage", "test:watch": "npx jest --watch", "lint": "eslint src/**/*.ts", "lint:fix": "eslint . --ext .ts --fix", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"", "prepublishOnly": "npm run build && npm test", "check-coverage": "ts-node scripts/check-coverage.ts", "start:example:node-app": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' examples/node-app.ts", "start:example:basic-usage": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' examples/basic-usage.ts" }, "keywords": [ "logging", "typescript", "structured-logging", "pino", "tracing", "http-logging", "express-middleware", "axios-interceptor", "observability" ], "author": "Unnbound Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/unnbound/logger.git" }, "homepage": "https://github.com/unnbound/logger#readme", "bugs": { "url": "https://github.com/unnbound/logger/issues" }, "dependencies": { "axios": "^1.0.0", "express": "^4.0.0 || ^5.0.0", "pino": "^8.17.2", "uuid": "^11.1.0" }, "devDependencies": { "@types/express": "^4.17.21", "@types/jest": "^29.5.12", "@types/node": "^20.11.24", "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "cors": "^2.8.5", "dotenv": "^16.5.0", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.5", "jest": "^29.7.0", "nodemon": "^3.1.10", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "peerDependencies": { "axios": "^1.0.0", "express": "^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": { "express": { "optional": true }, "axios": { "optional": true } }, "files": [ "dist/src/**/*", "dist/index.*", "dist/types.*", "dist/unnbound-logger.*", "dist/utils/**/*", "README.md", "LICENSE" ], "engines": { "node": ">=14.0.0" } }