{"id":20744696,"url":"https://github.com/rioam2/firebase-project-manager","last_synced_at":"2025-09-05T22:46:41.780Z","repository":{"id":35110446,"uuid":"205503277","full_name":"rioam2/firebase-project-manager","owner":"rioam2","description":"🛠 Create and manage your Firebase projects from the command line or with code","archived":false,"fork":false,"pushed_at":"2023-01-05T05:51:56.000Z","size":333,"stargazers_count":2,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T09:26:27.805Z","etag":null,"topics":["apis","automate","automation","cli","command-line","command-line-tool","creation","firebase","firebase-tools"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/firebase-project-manager","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rioam2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-31T06:03:11.000Z","updated_at":"2021-07-27T08:36:42.000Z","dependencies_parsed_at":"2023-01-15T14:01:49.601Z","dependency_job_id":null,"html_url":"https://github.com/rioam2/firebase-project-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rioam2/firebase-project-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Ffirebase-project-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Ffirebase-project-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Ffirebase-project-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Ffirebase-project-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rioam2","download_url":"https://codeload.github.com/rioam2/firebase-project-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rioam2%2Ffirebase-project-manager/sbom","scorecard":{"id":776952,"data":{"date":"2025-08-11","repo":{"name":"github.com/rioam2/firebase-project-manager","commit":"5ad6acdd3e34b91247a737055ae7372e01d98455"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"41 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-wgfq-7857-4jcc","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T03:51:48.111Z","repository_id":35110446,"created_at":"2025-08-23T03:51:48.111Z","updated_at":"2025-08-23T03:51:48.111Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273833265,"owners_count":25176272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["apis","automate","automation","cli","command-line","command-line-tool","creation","firebase","firebase-tools"],"created_at":"2024-11-17T07:16:51.693Z","updated_at":"2025-09-05T22:46:41.756Z","avatar_url":"https://github.com/rioam2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# firebase-project-manager\n\n[![Build Status](https://travis-ci.com/rioam2/firebase-project-manager.svg?branch=master)](https://travis-ci.com/rioam2/firebase-project-manager)\n[![Coverage Status](https://coveralls.io/repos/github/rioam2/firebase-project-manager/badge.svg?branch=master)](https://coveralls.io/github/rioam2/firebase-project-manager?branch=master)\n[![TypeScript](https://badges.frapsoft.com/typescript/version/typescript-next.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)\n[![NPM Version](https://img.shields.io/npm/v/firebase-project-manager.svg)](https://github.com/rioam2/firebase-project-manager)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://img.shields.io/badge/license-MIT-blue.svg)\n\nCreate and manage your Firebase projects from the command line or with code! \n\n## Example Usage\n\n#### As a Command-Line Tool\n```bash\n$ firebase-project-manager login\n$ firebase-project-manager create my-new-project\n```\n\n#### As a Node.JS Dependency\n```javascript\nconst { authenticate, createFirebaseProject } = require('firebase-project-manager');\n\nawait authenticate();\nconst createdProjectId = await createFirebaseProject('my-new-project');\nconsole.log('Successfully created new Firebase project:', createdProjectId);\n```\n\n## Installation\n\nAs a package dependency:\n\n```bash\n$ yarn add firebase-project-manager \n# OR\n$ npm i firebase-project-manager\n```\n\nAs a global binary tool:\n\n```bash\n$ yarn global add firebase-project-manager\n# OR\n$ npm i -g firebase-project-manager\n```\n\n## CLI Usage\n\nThis utility can either be used in an interactive mode, or single-command/single-action mode.   \nTo access the interactive tool, use the following command:\n\n```bash\n$ firebase-project-manager\n```\n\nTo utilize a single function of the executable, run the following to view all options (API is subject to change):\n\n```bash\n$ firebase-project-manager --help\n```\n\nNote: You may need to use `$ yarn firebase-project-manager` if you do not have the package installed globally.\n\n## Node.JS API Usage\n\nEmbedded below are all of the functions available for import through this package currently. Since the APIs are subject to heavy change right now, official documentation will not be produced until the package is ready for an initial major release. Using exact symver numbers in your `package.json` recommended until then as any changes up until `v1.0.0` can be considered breaking changes.\n\n```ts\n// src/index.ts\n\nimport { googleapis } from './apis';\nimport * as auth from './auth';\nimport * as firebase from './firebase';\nimport { EventCB } from './firebase.types';\nimport { noop } from './util';\n\nexport { ERRORS, EVENTS, EventCB } from './firebase.types';\n\n/** Static OAuth client managed by `authenticate` and `deauthenticate` */\nexport const oauth2Client = auth.oauth2Client;\n\n/**\n * Authenticates client with Firebase Project Manager and retains a refresh token in the\n * system's configuration store for later usage.\n * @param verbose If true, authentication status will be logged with `console.log`.\n * @return Void promise resolved upon completion\n */\nexport const authenticate = auth.authenticate;\n\n/**\n * Deauthenticates the currently logged in user, revokes and deletes the currently cached\n * refresh_token stored in the system's configuration store.\n * @param verbose If true, authentication status will be logged with `console.log`.\n * @return Void promise resolved upon completion\n */\nexport const deauthenticate = auth.deauthenticate;\n\n/**\n * Creates a new Firebase Project via a two step process of first creating a CGP Project\n * and then secondly adding Firebase resources to it.\n * @param name Desired display name for the underlying GCP project. If available, this name\n * will also be used as a `projectId` by replacing all non-whitespace characters with '-'\n * and making all alphabetic characters lower-case.\n * @param cb function called with progress of project creation.\n * @return Promise to the newly created project's `projectId`.\n */\nexport function createFirebaseProject(name: string, cb: EventCB = noop) {\n\treturn firebase.createFirebaseProject(googleapis, name, cb);\n}\n\n/**\n * Creates a new GCP project using Google `cloudresourcemanager`.\n * @param name Desired display name for the underlying GCP project. If available, this name\n * will also be used as a `projectId` by replacing all non-whitespace characters with `-`\n * and making all alphabetic characters lower-case.\n * @param cb function called with progress of project creation.\n * @return Promise to the newly created project's `projectId`.\n */\nexport function createGCProject(name: string, cb: EventCB = noop) {\n\treturn firebase.createGCProject(googleapis, name, cb);\n}\n\n/**\n * Adds Firebase resources to a GCP Project\n * @param projectId projectId of the GCP Project to add Firebase features to.\n * @param cb function called with progress of project creation.\n * @return Void promise resolved upon completion\n */\nexport function addFirebaseFeatures(projectId: string, cb: EventCB = noop) {\n\treturn firebase.addFirebaseFeatures(googleapis, projectId, cb);\n}\n\n/**\n * Lists all GCP Projects with Firebase resources.\n * @param pageSize The maximum number of Projects to return\n * @param pageToken Token returned from a previous call indicating where in the\n * set of Projects to resume listing.\n * @return Promise to an array of Firebase Projects\n */\nexport function listFirebaseProjects(pageSize?: number, pageToken?: string) {\n\treturn firebase.listFirebaseProjects(googleapis, pageSize, pageToken);\n}\n/**\n * Lists all GCP Projects lacking Firebase resources, but that are available to become Firebase\n * projects.\n * @param pageSize The maximum number of Projects to return\n * @param pageToken Token returned from a previous call indicating where in the\n * set of Projects to resume listing.\n * @return Promise to an array of GCP Projects\n */\nexport function listAvailableProjects(pageSize?: number, pageToken?: string) {\n\treturn firebase.listAvailableProjects(googleapis, pageSize, pageToken);\n}\n\n/**\n * Retrieves information for a given Firebase project.\n * @param projectId projectId of the Firebase project to retrieve\n * @return Promise to a Firebase Project\n */\nexport function getFirebaseProject(projectId: string) {\n\treturn firebase.getFirebaseProject(googleapis, projectId);\n}\n\n/**\n * Lists all applications associated with a Firebase Project.\n * @param projectId projectId of the Firebase project to retrieve apps of\n * @param pageSize The maximum number of Apps to return\n * @param pageToken Token returned from a previous call indicating where in the\n * set of Apps to resume listing.\n */\nexport function listFirebaseProjectApps(projectId: string, pageSize?: number, pageToken?: string) {\n\treturn firebase.listFirebaseProjectApps(googleapis, projectId, pageSize, pageToken);\n}\n\n/**\n * Creates a new web application under a given Firebase Project.\n * @param projectId projectId of the parent Firebase project to create an application for\n * @param displayName User-assigned display name of the App.\n * @param appUrls Fully qualified URLs where the App is hosted.\n */\nexport function createFirebaseWebapp(projectId: string, displayName?: string, appUrls?: string[]) {\n\treturn firebase.createFirebaseWebapp(googleapis, projectId, displayName, appUrls);\n}\n\n/**\n * Retrieves information for a given Firebase Project's app.\n * @param name Fully qualified identifier for the webapp (Eg: `/projects/.../webApp/...`)\n */\nexport function getFirebaseWebapp(name: string): ReturnType\u003ctypeof firebase.getFirebaseWebapp\u003e;\n/**\n * Retrieves information for a given Firebase Project's app.\n * @param projectId projectId of the parent Firebase project\n * @param appId The webapp's ID.\n */\nexport function getFirebaseWebapp(projectId: string, appId?: string): ReturnType\u003ctypeof firebase.getFirebaseWebapp\u003e;\nexport function getFirebaseWebapp(projectId: string, appId?: string) {\n\treturn firebase.getFirebaseWebapp(googleapis, projectId, appId);\n}\n\n/**\n * Retrieves configuration information for a given Firebase Project's app.\n * @param name Fully qualified identifier for the webapp (Eg: `/projects/.../webApp/...`)\n */\nexport function getFirebaseWebappConfig(name: string): ReturnType\u003ctypeof firebase.getFirebaseWebappConfig\u003e;\n/**\n * Retrieves configuration information for a given Firebase Project's app.\n * @param projectId projectId of the parent Firebase project\n * @param appId The webapp's ID.\n */\nexport function getFirebaseWebappConfig(\n\tprojectId: string,\n\tappId?: string\n): ReturnType\u003ctypeof firebase.getFirebaseWebappConfig\u003e;\nexport function getFirebaseWebappConfig(projectId: string, appId?: string) {\n\treturn firebase.getFirebaseWebappConfig(googleapis, projectId, appId);\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioam2%2Ffirebase-project-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frioam2%2Ffirebase-project-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frioam2%2Ffirebase-project-manager/lists"}