UNPKG

@omlet/cli

Version:

Omlet (https://omlet.dev) is a component analytics tool that uses a CLI to scan your codebase to detect components and their usage. Get real usage insights from customizable charts to measure adoption across all projects and identify opportunities to impr

9 lines (8 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toJsonStringStream = void 0; const json_stream_stringify_1 = require("json-stream-stringify"); function toJsonStringStream(data, { spaces, bufferSize } = { bufferSize: 1024 * 1024 }) { return new json_stream_stringify_1.JsonStreamStringify(data, undefined, spaces, undefined, bufferSize); } exports.toJsonStringStream = toJsonStringStream;