https://github.com/niksudan/firebase-to-csv
♻️ Convert Firebase JSON data to CSV
https://github.com/niksudan/firebase-to-csv
converter csv firebase nodejs
Last synced: 5 months ago
JSON representation
♻️ Convert Firebase JSON data to CSV
- Host: GitHub
- URL: https://github.com/niksudan/firebase-to-csv
- Owner: niksudan
- License: mit
- Created: 2017-02-14T10:01:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T18:26:06.000Z (almost 9 years ago)
- Last Synced: 2025-09-18T22:52:24.930Z (6 months ago)
- Topics: converter, csv, firebase, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/ftc
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firebase to CSV
[](https://www.npmjs.com/package/ftc)
Convert Firebase JSON data to CSV.
## Installation
- `npm i -g ftc`
## Usage
- `ftc ` - Creates a CSV of each form section in the current directory.
## Firebase Storage Format
This won't work for every kind of Firebase data. It's built to work with a simple and generic style:
```json
{
"section-name-1": {
"firebase-hash-1": {
"key1": "value",
"key2": "value",
"key3": "value"
},
"firebase-hash-2": {
"key1": "value",
"key2": "value",
"key3": "value"
}
},
"section-name-2": {
"firebase-hash-1": {
"key1": "value",
"key2": "value",
"key3": "value"
},
"firebase-hash-2": {
"key1": "value",
"key2": "value",
"key3": "value"
}
}
}
```
By running `ftc ` on a file of that format, it will generate two CSV files for each section. Please make sure that each entry in that section contains the same keys too.