Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

jsonl-parse-stringify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonl-parse-stringify

A simple typescript JSONL Parse and Stringify util

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
37K
-29.17%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

json

FAQs

Package last updated on 27 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts