Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@firemanjs/fireman

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firemanjs/fireman

Fireman API and CLI

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

A cli and desktop client for Firebase databases that makes querying and managing easy.

Install

To install run

$ npm install -g @firemanjs/fireman

This package only contains Fireman API and CLI, for the Electron app refer to fireman-electron. (Not yet released)

Usage

Fireman uses a custom query language called FiremanQL. To learn more about it see FiremanQL Docs.

Once installed, this package exposes the fireman command.

CLI documentation

fireman project:add <serviceAccountKeyPath> <dbUrl>

Adds a Firebase project to your environment.

ParameterDescription
serviceAccountKeyPathThe absolute path of the service account key JSON file
dbUrlThe .firebaseio.com url of your database

See add firebase to your app to know how to generate the service account file and to find the db url.

fireman project:use

Starts an interactive shell that lets you choose which project to use from now on.

fireman project:remove

Starts an interactive shell that lets you choose which project to remove (locally).

fireman firestore [query]

If no query is provided, starts the Fireman interactive shell, otherwise performs query.

fireman realtime [query]

If no query is provided, starts the Realtime interactive shell, otherwise performs query.

Query options

The following options can be appended to queries:

-l listens for changes in the queried data and updates the output in real time.

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

FAQs

Package last updated on 17 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc