LTSV (Labeled Tab Separated Values) parser, formatter, validator, and TransformStream for Node.js. Version 4.0.1 requires Node >=20 and is ESM-only with full TypeScript type definitions. Provides parse, parseLine, format, validate, and a Node.js stream interface. Designed for efficient LTSV log processing. Releases are infrequent but stable. Differentiates with stream support and strict mode validation.
npm install ltsvNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse and format LTSV data using the main module. Shows basic usage of parse and format functions.
Use import syntax or upgrade to Node >=20. If CommonJS needed, use v3.x (last CJS version).
Import from 'ltsv/nodejs_stream' for createLtsvToJsonStream, createLtsvToObjectStream, etc.
Convert Buffer to string using .toString() or use stream for binary input.
Use named imports: import * as ltsv from 'ltsv' or import { parse } from 'ltsv'.Manually sanitize values or use strict mode validation before formatting.
Switch to import syntax or downgrade to ltsv@3 that supports CommonJS.
Change import to: import { createLtsvToJsonStream } from 'ltsv/nodejs_stream';Use import * as ltsv from 'ltsv' or import { parse } from 'ltsv'.No dependency data recorded yet.