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
this util simply allow you to parse and interact with JSONL same way as you interact to JSON.
installation
npm install jsonl-parse-stringify --saveUsage
Typescript
import JSONL from "jsonl-parse-stringify";
var parsed = JSONL.parse<MyType>(myJsonlString);
var stringified = JSONL.stringify(myArray);Plain Javascript
const JSONL = require("jsonl-parse-stringify");
var parsed = JSONL.parse(myJsonlString);
var stringified = JSONL.stringify(myArray);