axe
Version:
Axe is a logger-agnostic wrapper that normalizes logs regardless of argument style. Great for large development teams, old and new projects, and works with Pino, Bunyan, Winston, console, and more. It is lightweight, performant, highly-configurable, and a
140 lines (139 loc) • 4.27 kB
JSON
{
"name": "axe",
"description": "Axe is a logger-agnostic wrapper that normalizes logs regardless of argument style. Great for large development teams, old and new projects, and works with Pino, Bunyan, Winston, console, and more. It is lightweight, performant, highly-configurable, and automatically adds OS, CPU, and Git information to your logs. It supports hooks (useful for masking sensitive data) and dot-notation remapping, omitting, and picking of log metadata properties. Made for Forward Email, Lad, and Cabin.",
"version": "13.0.0",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",
"browser": {
"parse-app-info": false
},
"bugs": {
"url": "https://github.com/cabinjs/axe/issues"
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",
"Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)",
"shadowgate15 (https://github.com/shadowgate15)",
"Spencer Snyder <sasnyde2@gmail.com> (https://spencersnyder.io)"
],
"dependencies": {
"@ladjs/format-util": "^1.0.4",
"@strikeentco/get": "1.0.1",
"@strikeentco/set": "1.0.2",
"boolean": "3.2.0",
"console-polyfill": "0.3.0",
"format-specifiers": "^1.0.0",
"is-buffer": "^2.0.5",
"is-symbol": "^1.0.4",
"iserror": "0.0.2",
"merge-options": "3.0.4",
"p-map-series": "2",
"parse-app-info": "^6.0.0",
"parse-err": "^1.0.0",
"pick-deep": "1.0.0",
"unset-value": "2.0.1"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"ava": "5.3.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"consola": "^3.2.3",
"cross-env": "^7.0.3",
"eslint": "8.49.0",
"eslint-config-xo-lass": "^2.0.1",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-node": "^11.1.0",
"express": "^4.21.1",
"fixpack": "^4.0.0",
"husky": "^9.0.11",
"jsdom": "15",
"koa": "^2.15.3",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"nyc": "^17.1.0",
"pino": "^9.5.0",
"remark-cli": "11.0.0",
"remark-preset-github": "^4.0.4",
"rimraf": "^5.0.5",
"signale": "^1.4.0",
"sinon": "^18.0.0",
"tinyify": "3.0.0",
"tsd": "^0.31.2",
"xo": "0.56.0"
},
"engines": {
"node": ">=14"
},
"files": [
"lib",
"dist",
"src"
],
"homepage": "https://github.com/cabinjs/axe",
"jsdelivr": "dist/axe.min.js",
"keywords": [
"airbrake",
"analytic",
"analytics",
"api",
"axe",
"bugsnag",
"bunyan",
"cabin",
"cabinjs",
"chalk",
"color",
"colored",
"connect",
"console",
"express",
"hackable",
"hapi",
"koa",
"lad",
"ladjs",
"lass",
"log",
"logger",
"logging",
"loggly",
"middleware",
"official",
"raven",
"sentry",
"signale",
"timber",
"transport",
"winston",
"wrapper"
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/cabinjs/axe"
},
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"browserify": "browserify src/index.js -o dist/axe.js -s Axe -g [ babelify --configFile ./.dist.babelrc.json ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc.json src --out-dir lib --copy-files",
"lint": "xo --fix && remark . -qfo && fixpack",
"lint-build": "npm run lint-lib && npm run lint-dist",
"lint-dist": "eslint --no-inline-config -c .dist.eslintrc.json dist",
"lint-lib": "eslint --no-inline-config -c .lib.eslintrc.json lib",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/axe.min.js -s Axe -g [ babelify --configFile ./.dist.babelrc.json ] -p tinyify",
"nyc": "cross-env NODE_ENV=test nyc ava",
"prepare": "husky install",
"pretest": "npm run lint",
"test": "npm run build && npm run lint-build && tsd && npm run nyc"
},
"types": "lib/index.d.ts",
"unpkg": "dist/axe.min.js"
}