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

rs-csv2json

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rs-csv2json

Converts CSV files to JSON files

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

rs-csv2json

Converts CSV files to JSON files

Written and tested in node version 16.15.1

Convert csv files to json

To quickly get csv files converted into json do...

  1. Clone repo git clone https://github.com/rsteinmann/rs-csv2json.git
  2. Run npm install
  3. Put as many .csv files into folder ./input
  4. Run npm start
  5. Check ./output folder for json files

Use as node module

To use this module in your project do...

  1. Run npm i rs-csv2json
  2. Touch the file you would like to add functionality
  3. Add following script
const path = require('path')
const csv2json = require('rs-csv2json')

const inputPath = path.join(__dirname, `./input`) // set input path to csv files
const outputPath = path.join(__dirname, `./output`) // set output path to destionation

csv2json(inputPath, outputPath)
  .then((report) => console.log(report))

Keywords

FAQs

Package last updated on 15 Jul 2022

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