node package manager

tuttle

tuttle

data plumbing toolkit

this is just an easier way to get started using some common csv tools - check out the dependencies for some great modules you might wanna use on their own.

usage

var tuttle = require('tuttle')
var fs = require('fs')
 
fs.createReadStream('./in.csv')
  .pipe(tuttle.read())
  .pipe(tuttle.through(function (row) {
    console.log(row)
    return row
  }))
  .pipe(tuttle.write())
  .pipe(fs.createWriteStream('./out.csv'))
 

api

using jsig:

tuttle.read : (opts: Object) => Stream

Returns a transform stream. See documentation for binary-csv

Defaults to json object-mode streams. This is slightly slower, but easier to work with in most cases. You can override this by passing {json: false} in the opts.

installation

$ npm install tuttle

running the tests

From package root:

$ npm install
$ npm test

named after

Harry Tuttle, heating engineer!

contributors

license

ISC. (c) MMXIV jden jason@denizac.org. See LICENSE.md