0.2.2 • Published 5 years ago

csvwrap v0.2.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

csvwrap

Simple CLI tool: CSV -> JS

Install

npm i csvwrap -g

Use

csvwrap

It will create .js file for each .csv file.

Example

Source CSV

data.csv

Name, Age
Foo, 10
Bar, 20
Baz, 11

Output

data.js

module.exports={"label":["Name","Age"],"data":[["Foo","10"],["Bar","20"],["Baz","11"]]}

TODO

  • Custom separator
  • .d.ts
  • Stream
  • Filter option
0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago