Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ya-s-u/firestore-csv-import
CLI tools for importing csv files to firestore documents
https://github.com/ya-s-u/firestore-csv-import
firebase firestore
Last synced: 12 days ago
JSON representation
CLI tools for importing csv files to firestore documents
- Host: GitHub
- URL: https://github.com/ya-s-u/firestore-csv-import
- Owner: ya-s-u
- License: mit
- Created: 2023-09-09T15:28:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-09T23:27:48.000Z (about 1 year ago)
- Last Synced: 2024-10-29T00:49:33.753Z (22 days ago)
- Topics: firebase, firestore
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/firestore-csv-import
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# firestore-csv-import
## Usage
```sh
$ npx firestore-csv-import -c -p
```## Example
```sh
$ npx firestore-csv-import test.csv -c tests -p key.json -k id -t date -i id
```### Input
```csv
id,name,point
1,hoge,1
2,fuga,2
3,piyo,3
```### Output
## Options
### `-c`, `--collection`
Firestore collection name
### `-p`, `--path`
Firebase certification file path
### `-k`, `--key`
Firestore id field
### `-t`, `--timestamp`
Firestore timestamp field (default: false)
### `-i`, `--ignore`
Ignore fields \*commma separated
### `-h`, `--help`
Display help for command