Naughty Pterodactyl Maid
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-csv-jsonpublic

    node-csv-json

    Build Status

    Converting csv file to json files using nodejs

    Install

      npm install node-csv-json

    Usage

      node_cj = require("node-csv-json");
      node_cj({
        input: "sample.csv", 
        output: "output.json"
      }, function(err, result){
        if(err) {
          console.error(err);
        }else {
          console.log(result)
        }
      });

    In config object, you have to enter an input path. But If you don't want to output any file you can set to null.

    License

    MIT @chilijung

    Keywords

    install

    npm i node-csv-json

    Downloadslast 7 days

    13

    version

    0.2.1

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar