Skip to content

faradayio/through2-jsonreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

through2-jsonreader

A simple transform stream that parses JSON

Installation

npm install through2-jsonreader

or

npm install --save through2-jsonreader

Usage

var jsonReader = require('through2-jsonreader');

var parser = jsonReader();

parser.write('{"hello":"world"}');

parser.on('data', function(datum){
  console.log(datum.hello); //outputs "world"
});

About

A simple transform stream that parses JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published