jasonevrtt / indian-ocean

A library for reading in and writing out data in Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indian Ocean

Build Status NPM version npm js-standard-style

A library for reading in and writing out data in Node.js, part of The TK Toolkit.

Installation

npm install indian-ocean

Documentation

See the full API docs.

Usage

var io = require('indian-ocean')

var json_data = io.readDataSync('path/to/data.csv')

console.log(json_data)

/*
[
  {
    "name": "Gerald",
    "occupation": "Teacher",
    "city": "Philadelphia"
  },
  {
    "name": "Marcy",
    "occupation": "Venture Capitalist",
    "city": "New York"
  }
]
*/

io.writeDataSync('path/to/save/output.json', json_data)

License

MIT

About

A library for reading in and writing out data in Node.js.

License:MIT License


Languages

Language:JavaScript 97.4%Language:Shell 2.6%