1.0.0 • Published 6 years ago
the-csv v1.0.0
the-csv
CSV generator for the-framework
Installation
$ npm install the-csv --save
Usage
'use strict'
const {TheCSV} = require('the-csv')
async function tryExample () {
const csv = new TheCSV({
headers: ['foo', 'bar', 'baz']
})
csv.push(
[1, '2', 3]
)
const csvString = await csv.asString()
console.log(csvString)
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.
Links
1.0.0
6 years ago