JSPM

jsonl-parse-stringify

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 51711
  • Score
    100M100P100Q161262F
  • License MIT

A simple typescript JSONL Parse and Stringify util

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 --save

Usage

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);