Socket
Socket
Sign inDemoInstall

firestore-single-import-export

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    firestore-single-import-export

A simple CLI tool to export/import a single collection from firestore.


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Install size
77.5 MB
Created
Weekly downloads
 

Readme

Source

firestore-single-import-export

A simple CLI tool to export/import a single collection from firestore.

Install

npm i -g firestore-single-import-export

Usage

Usage: firestore-single-import-export [options] [command]

Options:
  -h, --help         display help for command

Commands:
  export [options]   Exports a collection to an output JSON file
  restore [options]  Restores a collection from an output JSON file
  help [command]     display help for command

Export

Usage: firestore-single-import-export export [options]

Exports a collection to an output JSON file

Options:
  --collectionPath <collection_path>          The firestore path to the collection
  --serviceAccountPath <serviceAccount_path>  The local path to the serviceAccount.json file
  --savePath <save_path>                      The local path to the output .json file
  -h, --help                                  display help for command

Restore

Usage: firestore-single-import-export restore [options]

Restores a collection from an output JSON file

Options:
  --serviceAccountPath <serviceAccount_path>  The local path to the serviceAccount.json file
  --restorePath <restore_path>                The local path to the output .json file
  -h, --help                                  display help for command


FAQs

Last updated on 07 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc