New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

json-stringified-stream

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-stringified-stream

Transform stream accepting a JSON string to parse and stringify with an optional delimiter.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

json-stringified-stream

Build Status NPM version NPM downloads LICENSE

Transform stream accepting a JSON string to parse and stringify with an optional delimiter.

 % npm install json-stringified-stream

Usage Example

var stringify = require('./index');
var transform = stringify("\n");
process.stdin.pipe(transform).pipe(process.stdout);

Running the examples

output package.json contents on a single line with a trailing newline.

 % cat package.json | node examples/with-transform-stream.js

output package.json contents as it appears in package.json (i.e. no transform).

 % cat package.json | node examples/no-transform-stream.js

Inspiration

License

MIT

Keywords

JSON

FAQs

Package last updated on 14 Nov 2014

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