Files
js-logging/package.json
T
jdb 9e8ee446d1
Validate / test (push) Successful in 20s
Version 2.5.0 -- breaking change to BufferLogAppender's public constract.
BufferLogAppender now accepts threshold and optional size bounds via its
constructor, replaces bufferMax with the size target/max API, defaults
to bounded buffering, and may reassign its buffer during trim/clear
operations.

Also adds batched buffer trimming for high-throughput logging, a clamp
utility for bounds normalization, and expanded tests for buffer sizing,
trimming behavior, and clamp semantics.
2026-05-07 07:37:00 -05:00

32 lines
721 B
JSON

{
"name": "@jdbernard/logging",
"version": "2.5.0",
"description": "Simple Javascript logging service.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"build": "bunx tsc",
"prepare": "npm run build",
"test": "bun test",
"test:coverage": "bun test --coverage"
},
"repository": {
"type": "git",
"url": "https://git.jdb-software.com/jdb/js-logging.git"
},
"keywords": [
"log",
"logging"
],
"author": "Jonathan Bernard",
"license": "GPL-3.0",
"devDependencies": {
"@typescript-eslint/parser": "^8.19.0",
"eslint-plugin-import": "^2.31.0",
"typescript": "^5.0.4",
"typescript-eslint": "^8.19.0"
}
}