Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csv2json-convertor

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv2json-convertor

node module to convert csv files to JSON data object

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

# README #

######CSV2JSON-convertor######

csv2json_convertor is node module to convert csv files to JSON data object

To install:

npm install csv2json-convertor

TO use:

#!javascript

var csv=require('csv2json-convertor');//importing csv2json-convertor

var data1=csv.csvtojson("csv_file.csv"); //csvtojson is function that accepts csv filenames and returns JSON object
console.log(data1);//data1 is variable used to store returning JSON object
console.log(data1[0].key)//where key is the from json key-value format

FYI:

If you find any bugs, you can email me sajanshakya129@gmail.com

Created by Sajan Shakya ;) :) :)

Keywords

FAQs

Package last updated on 20 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc