@wgtechlabs/log-engine
Version:
A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.
130 lines (129 loc) • 3.77 kB
JSON
{
"name": "@wgtechlabs/log-engine",
"version": "2.2.0",
"description": "A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.",
"type": "module",
"keywords": [
"logging",
"logger",
"log",
"winston-alternative",
"security",
"redaction",
"pii-protection",
"data-redaction",
"typescript",
"javascript",
"nodejs",
"express",
"fastify",
"koa",
"nestjs",
"bot",
"discord",
"telegram",
"privacy",
"gdpr",
"compliance",
"opensource",
"mit-license",
"esm",
"cjs",
"zero-dependencies",
"structured-logging",
"json-logging"
],
"packageManager": "yarn@4.9.2",
"license": "MIT",
"author": "WG Tech Labs <opensource@wgtechlabs.com> (https://wgtechlabs.com)",
"contributors": [
"Waren Gonzaga <opensource@warengonzaga.com> (https://warengonzaga.com)"
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/wgtechlabs"
},
{
"type": "github",
"url": "https://github.com/sponsors/warengonzaga"
}
],
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wgtechlabs/log-engine.git"
},
"homepage": "https://github.com/wgtechlabs/log-engine#readme",
"bugs": {
"url": "https://github.com/wgtechlabs/log-engine/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"tag": "latest"
},
"scripts": {
"build": "node scripts/forklift-runner.js --clean",
"build:watch": "node scripts/forklift-runner.js --watch",
"start": "node dist/cjs/index.cjs",
"prepublishOnly": "yarn build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:coverage:watch": "jest --coverage --watch",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:unit": "jest --testNamePattern=\"^((?!integration).)*$\"",
"test:integration": "jest integration.test.ts",
"test:redaction": "jest --testPathPattern=\"redaction/\"",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"lint:security": "eslint src/**/*.ts --config eslint.security.config.js",
"secure:scan": "snyk code test",
"secure:test": "snyk test --org=wgtechlabs",
"secure:code": "snyk code test --org=wgtechlabs",
"secure": "run-s lint:security secure:test secure:code",
"validate": "run-s lint test build",
"clean": "rm -rf dist coverage",
"coverage:open": "open coverage/lcov-report/index.html",
"coverage:upload": "npx codecov"
},
"devDependencies": {
"@types/eslint-plugin-security": "^3",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"eslint": "^8.45.0",
"eslint-plugin-security": "^2.0.0",
"jest": "^29.0.0",
"npm-run-all": "^4.1.5",
"snyk": "^1.1000.0",
"ts-jest": "^29.0.0",
"ts-node": "^10.0.0",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
}