UNPKG

missionlog

Version:

🚀 lightweight TypeScript abstract logger • level based filtering and optional tagging • supports both ESM & CJS

83 lines (82 loc) • 2.23 kB
{ "name": "missionlog", "version": "3.1.5", "type": "module", "repository": { "type": "git", "url": "https://github.com/rmartone/missionlog" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js" } }, "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", "types": "./dist/index.d.ts", "description": "🚀 lightweight TypeScript abstract logger • level based filtering and optional tagging • supports both ESM & CJS", "files": [ "dist/*.d.ts", "dist/index.cjs.js", "dist/index.cjs.js.map", "dist/index.esm.js", "dist/index.esm.js.map" ], "scripts": { "clean": "shx rm -rf dist tsconfig.tsbuildinfo", "build": "npm run clean && npm run build:js && npm run build:types", "build:types": "tsc --emitDeclarationOnly", "build:js": "node build.js", "format": "prettier -c src/**/*.ts", "lint": "eslint ./src --ext .ts,.tsx --fix", "pub": "npm version patch --no-git-tag-version && npm run build && npm publish", "coverage": "vitest run --coverage", "test": "vitest --config vitest.config.ts --run" }, "keywords": [ "log", "logger", "logging", "lightweight", "ts-log", "abstract", "typescript", "esm", "cjs", "console", "structured-logging", "configurable", "tags", "categories", "filtering", "log-levels" ], "engines": { "node": ">=18.0.0" }, "author": "Ray Martone <rmartone@gmail.com>", "license": "MIT", "devDependencies": { "@types/node": "^22.15.17", "@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/parser": "^8.32.1", "@vitest/coverage-v8": "^3.1.3", "coveralls": "^3.1.1", "esbuild": "^0.25.4", "esbuild-plugin-tsc": "^0.5.0", "eslint": "^9.26.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.4.0", "prettier": "^3.5.3", "prettier-plugin-organize-imports": "^4.1.0", "shx": "^0.4.0", "standard-version": "^9.5.0", "tslib": "^2.8.1", "typescript": "^5.8.3", "vite": "^6.3.5", "vitest": "^3.1.3" } }