0.0.6 • Published 4 years ago

@lightly/csv2json v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

@lightly/csv2json

Convert CSV to JSON

安装下载

npm i --save @lightly/csv2json

import { convert } from '@lightly/csv2json';

async function start(argv: string[]) {
  const [input, output] = argv
  if (input && output) {
    console.log('---- begin -----')
    await convert({ input, output, separator: ',' })
    console.log('---- end -----')
  } else {
    console.log('{input} or {output} is empty')
  }
}

start(process.argv.slice(2))
0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago