UNPKG

472 BMarkdownView Raw
1[![Build Status](https://travis-ci.org/carlosazaustre/ceseve.svg?branch=master)](https://travis-ci.org/carlosazaustre/ceseve)
2
3# ceseve
4> Convert array of data to CSV file
5
6## Install
7```
8$ npm install ceseve
9```
10
11## Usage
12```js
13const csv = require('ceseve');
14
15const data = [
16 { foo: "bar", choo: "moo" },
17 { foo: "ber", choo: "muu" }
18];
19
20const csvDocument = csv(data);
21// csv:
22// foo,moo
23// ber,muu
24```
25
26## License
27MIT © [Carlos Azaustre](https://carlosazaustre.es)