jsonl-parse-stringify
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

JSONL parse stringify

Parse and interact with JSONL same way as you interact to JSON to parse and stringify.

installation

npm install jsonl-parse-stringify --save

Usage

Typescript

import JSONL from "jsonl-parse-stringify";

const parsed: MyType[] = JSONL.parse<MyType>(myJsonlString);
const stringified: string = JSONL.stringify(myArray);

Plain Javascript

const JSONL = require("jsonl-parse-stringify");

const parsed = JSONL.parse(myJsonlString);
const stringified = JSONL.stringify(myArray);

Package Sidebar

Install

npm i jsonl-parse-stringify

Weekly Downloads

36,586

Version

1.0.3

License

MIT

Unpacked Size

1.94 kB

Total Files

4

Last publish

Collaborators

  • daniel.dia