Socket
Socket
Sign inDemoInstall

fetch-firebase-types

Package Overview
Dependencies
239
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fetch-firebase-types

Firebase types file maker


Version published
Maintainers
1
Created

Readme

Source

Generate Typesript file from your Firebase Databases

npm npm

Quick usage

npx fetch-firebase-types

Installation

# yarn
yarn add fetch-firebase-types

# npm
npm install fetch-firebase-types

Config

Make sure ton add the following values to your .env : FIREBASE_PROJECT_ID FIREBASE_PRIVATE_KEY FIREBASE_CLIENT_EMAIL

Usage

import { fetchNewTypes } from "fetch-firebase-types/dist/main";

await fetchNewTypes();

It creates a file firebase.ts in a /types folder (creates it if doen't exist).

Keywords

FAQs

Last updated on 03 Apr 2023

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