Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (17 sloc) 674 Bytes

CSV

generate = require 'csv-generate'
parse = require 'csv-parse'
transform = require 'stream-transform'
stringify = require 'csv-stringify'

csv.generate()

Reference the CSV generator, alias to require('csv-generate').

module.exports.generate = generate

csv.parse()

Reference the CSV parser, alias to require('csv-parse').

module.exports.parse = parse

csv.transform()

Reference the stream transformer, alias to require('stream-transform').

module.exports.transform = transform

csv.stringify()

Reference the CSV stringifier, alias to require('csv-stringify').

module.exports.stringify = stringify