Skip to content

manuelbamise/json-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON to CSV

MIT License TypeScript Node

Extract specific profile fields from a JSON dump and export them as a formatted CSV file.

Fix Typography

Features

  • Reads a JSON file (data.json)
  • Extracts: title, real_name, display_name, email, status_text
  • Outputs a clean CSV with headers and escaped values
  • Appends rows on subsequent runs (no overwrite)

Prerequisites

  • Node.js >= 18

Setup

npm install

Place your data as data.json in the project root.

Usage

npm start

Output is written to data.csv.

Project structure

├── src/
│   ├── index.ts      Entry point — reads JSON, extracts data
│   └── fs.ts         CSV write logic
├── data.json         Input data (gitignored)
├── tsconfig.json
├── package.json
└── README.md

Built with

Tags

json-to-csv, data-extraction, slack, typescript, nodejs

About

Extract specific profile fields from a JSON dump and export them as a formatted CSV file.

Topics

Resources

Stars

Watchers

Forks

Contributors