{"id":38031690,"url":"https://github.com/keito5656/firebase-authentication-to-bigquery-export","last_synced_at":"2026-01-16T19:45:13.444Z","repository":{"id":34932917,"uuid":"192373800","full_name":"keito5656/firebase-authentication-to-bigquery-export","owner":"keito5656","description":"An automatic tool for copying and converting Firebase Authentication data to BigQuery.","archived":false,"fork":false,"pushed_at":"2024-06-16T22:44:31.000Z","size":131,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T21:59:12.049Z","etag":null,"topics":["bigquery","firebase-auth","typescript"],"latest_commit_sha":null,"homepage":"","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/keito5656.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-06-17T15:34:54.000Z","updated_at":"2025-02-20T01:33:54.000Z","dependencies_parsed_at":"2023-01-15T10:41:34.971Z","dependency_job_id":null,"html_url":"https://github.com/keito5656/firebase-authentication-to-bigquery-export","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/keito5656/firebase-authentication-to-bigquery-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keito5656%2Ffirebase-authentication-to-bigquery-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keito5656%2Ffirebase-authentication-to-bigquery-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keito5656%2Ffirebase-authentication-to-bigquery-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keito5656%2Ffirebase-authentication-to-bigquery-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keito5656","download_url":"https://codeload.github.com/keito5656/firebase-authentication-to-bigquery-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keito5656%2Ffirebase-authentication-to-bigquery-export/sbom","scorecard":{"id":554142,"data":{"date":"2025-08-11","repo":{"name":"github.com/keito5656/firebase-authentication-to-bigquery-export","commit":"1291ac4aa4e8c2e2e5215cf3e33b4dee15dd90c7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":1,"reason":"Found 1/10 approved changesets -- score normalized to 1","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":"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":"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":"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":"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 18 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":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7v5v-9h63-cj86","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-hhhv-q57g-882q","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-h755-8qp9-cq85","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-20T11:52:10.426Z","repository_id":34932917,"created_at":"2025-08-20T11:52:10.426Z","updated_at":"2025-08-20T11:52:10.426Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["bigquery","firebase-auth","typescript"],"created_at":"2026-01-16T19:45:11.637Z","updated_at":"2026-01-16T19:45:13.430Z","avatar_url":"https://github.com/keito5656.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Authentication to BigQuery export\n\nAn automatic tool for copying and converting Firebase Authentication data to BigQuery.\nInspired by [firestore-to-bigquery-export](https://github.com/Johannes-Berggren/firestore-to-bigquery-export)\n\n\n- Create a BigQuery dataset with tables corresponding to your Firebase Authentication.\n- This package doesn't write anything to Firebase Authentication.\n\n## Installation\n\u003e npm i firebase-authentication-to-bigquery-export\n\n```javascript\nimport bigExport from 'firebase-authentication-to-bigquery-export'\n\n// or\n\nconst bigExport = require('firebase-authentication-to-bigquery-export')\n\n// then\n\nconst GCPSA = require('./Your-Service-Account-File.json')\nbigExport.setBigQueryConfig(GCPSA)\nbigExport.setFirebaseConfig(GCPSA)\n```\n\n## How to\n\n### API\n```javascript\nbigExport.setBigQueryConfig(\n  serviceAccountFile // JSON\n)\n```\n\n```javascript\nbigExport.setFirebaseConfig(\n  serviceAccountFile // JSON\n)\n```\n\n\n```javascript\nbigExport.createBigQueryTables()\n```\n\n```javascript\nbigExport.copyToBigQuery(\n    verbose // Boolean\n)\n```\n\n```javascript\nbigExport.deleteBigQueryTables()\n```\n\n\n### Examples\n\n```javascript\n/* \nInitialize BigQuery dataset named 'authentication' with four firebase authentication.\n */\n\nbigExport.createBigQueryTables()\n    .then(res =\u003e {\n        console.log(res)\n    })\n    .catch(error =\u003e console.error(error))\n```\n\nThen, you can transport your data:\n\n```javascript\n\n/* \nCopying and converting from Firebase Authentication data\n */\n \n    bigExport.copyToBigQuery()\n    .then(res =\u003e {\n        console.log('Copied ' + res + ' documents to BigQuery.')\n    })\n    .catch(error =\u003e console.error(error))\n```\n\nAfter that, you may want to refresh your data. For the time being, the quick and dirty way is to delete your tables and make new ones:\n\n```javascript\n// Deleting the given BigQuery tables.\n\nbigExport.deleteBigQueryTables()\n    .then(res =\u003e {\n        console.log(res)\n    })\n    .catch(error =\u003e console.error(error))\n```\n\nMaybe you want to refresh / overwrite a single table?\n```javascript\n// Overwrites the users BigQuery table with fresh data from Firebase Authentication\n\nbigExport.deleteBigQueryTables()\n    .then(() =\u003e {\n        bigExport.createBigQueryTables()\n    })\n    .then(promises =\u003e {\n      return bigExport.copyToBigQuery()\n    })\n    .then(res =\u003e {\n      console.log('Copied to BigQuery.')\n    })\n    .catch(error =\u003e console.error(error))\n```\n\n## Issues\nPlease use the [issue tracker](https://github.com/keito5656/firebase-authentication-to-bigquery-export/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeito5656%2Ffirebase-authentication-to-bigquery-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeito5656%2Ffirebase-authentication-to-bigquery-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeito5656%2Ffirebase-authentication-to-bigquery-export/lists"}