1.0.6 • Published 6 years ago

csvtoyaml v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

csvtoyaml

Convert csv files to yaml.

Build Status

Installation

npm install csvtoyaml --save

Use

csvtoyaml returns a Promise so you can manipulate the yaml string in the then method. Here's an example of writing the yaml string to the disk.

const csvtoyaml = require('csvtoyaml');
const fs = require('fs');

csvtoyaml('${__dirname}/myData.csv')
.then(yaml => {
  fs.writeFile('${__dirname}/myData.yml', yaml);
})
.catch(e => {
  console.error(e);
});
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago