{"library":"ts-log","type":"library","category":null,"description":"ts-log provides a minimal TypeScript Logger interface and a no-op dummyLogger that implements it, allowing libraries to accept a logger dependency without forcing one. Version 3.0.2 (latest stable) requires Node >=20 and ships both ESM and CJS modules. It has zero runtime dependencies and is designed to be compatible with console, pino, bunyan, winston, and any object matching the five-method shape (trace, debug, info, warn, error). Releases are infrequent but stable, focused on maintaining the minimal API. Key differentiator: lightweight, typed, and library-friendly with no overhead.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","typescript","abstract","logger","console","dummy"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install ts-log","imports":["import { Logger } from 'ts-log'","import { dummyLogger } from 'ts-log'","import type { Logger } from 'ts-log'"]},{"cmd":"yarn add ts-log","imports":[]},{"cmd":"pnpm add ts-log","imports":[]}],"homepage":"https://github.com/kallaspriit/ts-log#readme","github":"https://github.com/kallaspriit/ts-log","docs":null,"changelog":null,"pypi":null,"npm":"ts-log","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}