{"library":"json-log-line","type":"library","category":null,"description":"The `json-log-line` package, currently at version 1.1.3, provides a focused utility for transforming JSON and plain JavaScript objects into custom-formatted log line strings. It is designed to integrate seamlessly with newline-delimited (nd) JSON loggers, offering flexible control over log output. Key functionalities include robust support for both JSON and standard JavaScript objects, a configurable system for explicitly including or excluding specific fields, and an advanced `format` option. This `format` option allows users to define custom transformations for object keys, including nested properties via dot notation, and supports sophisticated multi-key formatting strategies such as \"take one\" (`|`) or \"take all\" (`,`) for conditional or sequential application of formatters. The library ships with TypeScript types, ensuring a good development experience for TypeScript users. Releases are made periodically, indicating active maintenance and continuous refinement of its features.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install json-log-line","imports":["import { logLineFactory } from 'json-log-line';","import type { Options } from 'json-log-line';"]},{"cmd":"yarn add json-log-line","imports":[]},{"cmd":"pnpm add json-log-line","imports":[]}],"homepage":null,"github":"https://github.com/spence-s/json-log-line","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/json-log-line","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/json-log-line/compatibility"}}