Skip to content

serenalucasjose/jsontocsvcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Installation

  1. Clone this repository
  2. Run npm install to get dependencies
  3. Run npm install g . to install the CLI tool itself as a console command
  4. Now you can use the CLK JsonToCsv tool!

Usage

Run jsontocsv with the following args:

    -u (URL Endpoint)
    -k (The key used to extract data from JSON response)
    -o (Use double quotes. Output path to drop the CSV file (defaults to current directory - Im not being lazy))
    -f (CSV file name (No .ext. Defaults to csvFromJson.csv))

Example jsontocsv -f mi_file -k data -u "https://jsonplaceholder.typicode.com/todos/1"

About

Little CLI tool to parse a JSON response to a CSV file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors