Package Exports
- jsonl-parse-stringify
- jsonl-parse-stringify/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsonl-parse-stringify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 --saveUsage
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);