Skip to content

avinoamr/qs-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qs-stream

Stream parsing query-string files separated by new lines, built on top of the wonderful qs library with support for nesting and arrays

Maybe be useful for some log formats, but more importantly it provides the groundwork for building more complex parsers like Apache access logs or CloudFront logs

Usage

npm install qs-stream
var qsstream = require( "qs-stream" );

fs.createReadStream( "queries.log" ) // new-line separated list of querystrings
  .pipe( qsstream() )
  .on( "data", function ( queryObject ) {
    // do something awesome
  })

About

Stream parsing query-string files separated by new lines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published