{"id":20517383,"url":"https://github.com/iprit/firebase-compiled","last_synced_at":"2026-04-15T00:31:33.086Z","repository":{"id":73267769,"uuid":"87843554","full_name":"IPRIT/firebase-compiled","owner":"IPRIT","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-10T18:22:22.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T23:44:14.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IPRIT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-10T18:22:12.000Z","updated_at":"2017-04-10T18:22:24.000Z","dependencies_parsed_at":"2023-02-26T11:30:55.042Z","dependency_job_id":null,"html_url":"https://github.com/IPRIT/firebase-compiled","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IPRIT/firebase-compiled","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Ffirebase-compiled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Ffirebase-compiled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Ffirebase-compiled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Ffirebase-compiled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IPRIT","download_url":"https://codeload.github.com/IPRIT/firebase-compiled/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Ffirebase-compiled/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31821410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T21:35:16.963Z","updated_at":"2026-04-15T00:31:33.057Z","avatar_url":"https://github.com/IPRIT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase - App success made simple\n\n\n## Overview\n\n[Firebase](https://firebase.google.com) provides the tools and infrastructure\nyou need to develop, grow, and earn money from your app. This package supports\nweb (browser), mobile-web, and server (Node.js) clients.\n\nFor more information, visit:\n\n- [Firebase Realtime Database](https://firebase.google.com/docs/database/web/start) -\n  The Firebase Realtime Database lets you store and query user data, and makes\n  it available between users in realtime.\n- [Firebase Storage](https://firebase.google.com/docs/storage/web/start) -\n  Firebase Storage lets you upload and store user generated content, such as\n  files, and images.\n- [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/js/client) -\n  Firebase Cloud Messaging is a cross-platform messaging solution that lets you\n  reliably deliver messages at no cost.\n- [Firebase Authentication](https://firebase.google.com/docs/auth/web/manage-users) -\n  Firebase helps you authenticate and manage users who access your application.\n- [Create and setup your account](https://firebase.google.com/docs/web/setup) -\n  Get started using Firebase for free.\n\nThis SDK is intended for end-user client access from environments such as the\nWeb, mobile Web (e.g. React Native, Ionic), Node.js desktop (e.g. Electron), or\nIoT devices running Node.js. If you are instead interested in using a Node.js\nSDK which grants you admin access from a privileged environment (like a server),\nyou should use the\n[Firebase Admin Node.js SDK](https://firebase.google.com/docs/admin/setup/).\n\n## Get the code (browser)\n\n### Script include\n\nInclude Firebase in your web application via a `\u003cscript\u003e` tag:\n\n```\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n  var app = firebase.initializeApp({\n    apiKey: '\u003cyour-api-key\u003e',\n    authDomain: '\u003cyour-auth-domain\u003e',\n    databaseURL: '\u003cyour-database-url\u003e',\n    storageBucket: '\u003cyour-storage-bucket\u003e',\n    messagingSenderId: '\u003cyour-sender-id\u003e'\n  });\n  // ...\n\u003c/script\u003e\n```\n\n*Note: To get a filled in version of the above code snippet, go to the\n[Firebase console](https://console.firebase.google.com/) for your app and click on \"Add\nFirebase to your web app\".*\n\n### npm bundler (Browserify, Webpack, etc.)\n\nThe Firebase JavaScript npm package contains code that can be run in the browser\nafter combining the modules you use with a package bundler (e.g.,\n[Browserify](http://browserify.org/), [Webpack](https://webpack.github.io/)).\n\nInstall the Firebase npm module:\n\n```\n$ npm init\n$ npm install --save firebase\n```\n\nIn your code, you can access Firebase using:\n\n```\nvar firebase = require('firebase');\nvar app = firebase.initializeApp({ ... });\n```\n\nIf you are using ES6 imports or TypeScript:\n\n```\nimport * as firebase from 'firebase';\nvar app = firebase.initializeApp({ ... });\n```\n\n### Include only the features you need\n\nThe full Firebase JavaScript client includes support for Firebase Authentication, the\nFirebase Realtime Database, Firebase Storage, and Firebase Cloud Messaging. Including\ncode via the above snippets will pull in all of these features.\n\nYou can reduce the amount of code your app uses by just including the features\nyou need. The individually installable services are:\n\n- `firebase-app` - The core `firebase` client (required).\n- `firebase-auth` - Firebase Authentication (optional).\n- `firebase-database` - The Firebase Realtime Database (optional).\n- `firebase-storage` - Firebase Storage (optional).\n- `firebase-messaging` - Firebase Cloud Messaging (optional).\n\nFrom the CDN, include the individual services you use (include `firebase-app`\nfirst):\n\n```\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase-app.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase-auth.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase-database.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase-storage.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.7.5/firebase-messaging.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n  var app = firebase.initializeApp({ ... });\n  // ...\n\u003c/script\u003e\n```\n\nWhen using the firebase npm package, you can `require()` just the services that\nyou use:\n\n```\nvar firebase = require('firebase/app');\nrequire('firebase/auth');\nrequire('firebase/database');\n\nvar app = firebase.initializeApp({ ... });\n```\n\nIf you are using TypeScript with the npm package, you can import just the\nservices you use:\n\n```\n// This import loads the firebase namespace along with all its type information.\nimport * as firebase from 'firebase/app';\n\n// These imports load individual services into the firebase namespace.\nimport 'firebase/auth';\nimport 'firebase/database';\n```\n\n_The type information from the import statement will include all of the SDKs,\nnot just the ones you have `required`, so you could get a runtime error if you\nreference a non-required service._\n\n## Get the code (Node.js - server and command line)\n\n### NPM\n\nWhile you can write entire Firebase applications without any backend code, many\ndevelopers want to write server applications or command-line utilities using the\nNode.js JavaScript runtime.\n\nYou can use the same npm module to use Firebase in the Node.js runtime (on a\nserver or running from the command line):\n\n```\n$ npm init\n$ npm install --save firebase\n```\n\nIn your code, you can access Firebase using:\n\n```\nvar firebase = require('firebase');\nvar app = firebase.initializeApp({ ... });\n// ...\n```\n\nFirebase Storage is not included in the server side Firebase npm module.\nInstead, you can use the\n[`gcloud` Node.js client](https://googlecloudplatform.github.io/gcloud-node).\n\n```\n$ npm install --save gcloud\n```\n\nIn your code, you can access your Storage bucket using:\n\n```\nvar gcloud = require('gcloud')({ ... });\nvar gcs = gcloud.storage();\nvar bucket = gcs.bucket('\u003cyour-firebase-storage-bucket\u003e');\n...\n```\n\nFirebase Cloud Messaging is not included in the server side Firebase npm module.\nInstead, you can use the\n[Firebase Cloud Messaging Rest API](https://firebase.google.com/docs/cloud-messaging/send-message).\n\n## API definition\n\nIf you use the\n[Closure Compiler](https://developers.google.com/closure/compiler/) or\ncompatable IDE, you can find API definitions for all the Firebase JavaScript API\nin the included `/externs` directory in this package:\n\n```\nexterns/\n  firebase-app-externs.js\n  firebase-auth-externs.js\n  firebase-database-externs.js\n  firebase-storage-externs.js\n  firebase-messaging-externs.js\n```\n\n## Changelog\n\nThe Firebase changelog can be found at\n[firebase.google.com](https://firebase.google.com/support/release-notes/js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiprit%2Ffirebase-compiled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiprit%2Ffirebase-compiled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiprit%2Ffirebase-compiled/lists"}