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

github.com/kenjitheman/json-to-csv

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kenjitheman/json-to-csv

  • v0.1.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

json-to-csv simple sync/async converter

go logo

Project structure:

├── go.mod
├── jtoc.go
├── LICENSE
└── README.md

Installation

go get github.com/kenjitheman/jtoc

Usage

jtoc.Convert(jsonFilePath string, outputCsvFileName string)

jtoc.AsyncConvert(jsonFilePath string, outputCsvFileName string, numWorkers int)
  • NumWorkers - num of concurrent goroutines | change it if you want/need more or less.

  • Example:

jtoc.Convert("../man.json", "../man.csv")

jtoc.AsyncConvert("../man.json", "../man1.csv", 8)

Contributing

  • Pull requests are welcome, for major changes, please open an issue first to discuss what you would like to change.

license

  • MIT

FAQs

Package last updated on 20 Nov 2023

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