UNPKG

@kingdiablo/auditor

Version:

A lightweight and customizable audit logger for Node.js apps. Tracks database changes, errors, and user actions with support for external loggers like Winston or Pino.

92 lines (91 loc) 2.08 kB
{ "name": "@kingdiablo/auditor", "version": "0.3.1", "description": "A lightweight and customizable audit logger for Node.js apps. Tracks database changes, errors, and user actions with support for external loggers like Winston or Pino.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "scripts": { "build": "tsx builder.ts", "dev": "tsx src/index.ts", "test": "tsx --test" }, "files": [ "dist", "README.md", "CHANGELOG.md" ], "keywords": [ "audit", "logger", "express", "middleware", "typescript", "audit-log", "nodejs" ], "author": "kingdiablo", "license": "MIT", "devDependencies": { "@fastify/static": "^8.2.0", "@koa/router": "^13.1.1", "@types/express": "^5.0.3", "@types/koa": "^2.15.0", "@types/koa__router": "^12.0.4", "@types/koa-static": "^4.0.4", "@types/node": "^24.0.7", "express": "^5.1.0", "fastify": "^5.4.0", "koa-static": "^5.0.0", "mongoose": "^8.16.1", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3" }, "peerDependencies": { "@fastify/static": "^8.2.0", "@koa/router": "13.1.1", "express": "^5.1.0", "fastify": "5.4.0", "koa": "3.0.0", "koa-static": "5.0.0", "mongoose": "8.16.1" }, "peerDependenciesMeta": { "mongoose": { "optional": true }, "express": { "optional": true }, "fastify": { "optional": true }, "@fastify/static": { "optional": true }, "koa": { "optional": true }, "koa-static": { "optional": true }, "@koa/router": { "optional": true } }, "dependencies": { "chalk": "^5.4.1" }, "repository": { "type": "git", "url": "git+https://github.com/King-diablo/auditor.git" } }