New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/codytheroux96/csv-to-json

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/codytheroux96/csv-to-json

  • v0.0.0-20240424025355-976d084369ba
  • Source
  • Go
  • Socket score

Version published
Created
Source

CSV to JSON Formatter

Description

This repository is a command line tool that takes the contents of a csv file and formats them into JSON.

Usage

  • You will need to have Go(Golang) installed on your machine in order to run this program
  • Go ahead and clone this repository and cd into this project
  • Once in this project, run the following command: 'go run csv_to_json.go [path to desired csv file]'
  • After this command is ran, you can navigate to the same location as the csv file and you should now see a JSON file with the same name
  • The contents of this new JSON file should now have all of the csv contents formatted as JSON

Pretty JSON

By default, the JSON this tool generates will not be pretty and it instead will be printed out on one single line.

If you would like the JSON that is generated to be "pretty", simply run the command 'go run csv_to_json.go --pretty [path to desired csv file]'

Notice Anything?

Please feel free to reach out or make a PR if this tool leaves anything to be desired, does not work properly for you, or you would like to see additional features

FAQs

Package last updated on 24 Apr 2024

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