Skip to content

grrtbrtr/nested-json-to-key-value-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nested-json-to-key-value-csv

A tool to quickly convert a nested JSON file into a dot-notation CSV file (semicolon-separated) with 2 columns: key and value.

Prerequisites

Installation

git clone git@github.com:grrtbrtr/nested-json-to-key-value-csv.git

cd nested-json-to-key-value-csv/
yarn install

Usage

Use via the command line:

node src/index.js -i <input-file> -o <output-file>

Arguments

Argument Description
--input or -i a reference to the JSON file relative to the working folder
--output or -o a file name (and location) for the CSV file to be generated
(supports relative paths only)

About

A Node.js CLI tool to convert a nested JSON file into a flattened, dot-notated 2-column CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors