firestore-csv-import
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

firestore-csv-import

Usage

$ npx firestore-csv-import <csv path> -c <collection name> -p <certification path>

Example

$ npx firestore-csv-import test.csv -c tests -p key.json -k id -t date -i id

Import csv file

id,name,point
1,hoge,1
2,fuga,2
3,piyo,3

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

/firestore-csv-import/

    Package Sidebar

    Install

    npm i firestore-csv-import

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.36 kB

    Total Files

    7

    Last publish

    Collaborators

    • ya_s_u