csvstrom

0.2.0 • Public • Published

CSVStrom

Streaming CSV to JSON converter. Works well for large files.

CLI is included.

Install

# For use programmatically
npm i csvstrom

# Use from command line
npm i -g csvstrom

Usage

Programmatically:

const csvstrom = require('csvstrom')

// Returns the number of lines processed
const { count } = await csvstrom('codes.csv', 'codes.json')

Command line usage:

csvstrom inputfile.csv [outputfile.json]

WTFPL Licensed. Enjoy!

/csvstrom/

    Package Sidebar

    Install

    npm i csvstrom

    Weekly Downloads

    2

    Version

    0.2.0

    License

    WTFPL

    Unpacked Size

    3.32 kB

    Total Files

    6

    Last publish

    Collaborators

    • eldoy