{"id":21831413,"url":"https://github.com/nodef/extra-gcpconfig","last_synced_at":"2026-05-19T06:35:27.265Z","repository":{"id":90491437,"uuid":"165346428","full_name":"nodef/extra-gcpconfig","owner":"nodef","description":"Get ready to use GCP Config from parameters and environment variables.","archived":false,"fork":false,"pushed_at":"2025-04-08T17:12:26.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T05:57:23.876Z","etag":null,"topics":["cli","cloud","command","config","console","environment","extra","gcp","google","parameter","platform","shell","variable"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-gcpconfig","language":"JavaScript","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/nodef.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-12T04:33:18.000Z","updated_at":"2025-04-08T17:12:30.000Z","dependencies_parsed_at":"2023-05-09T13:31:32.086Z","dependency_job_id":null,"html_url":"https://github.com/nodef/extra-gcpconfig","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"aa02eccad39c4fc691d5f2a22e09a0631a09a382"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodef/extra-gcpconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-gcpconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-gcpconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-gcpconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-gcpconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodef","download_url":"https://codeload.github.com/nodef/extra-gcpconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-gcpconfig/sbom","scorecard":{"id":692415,"data":{"date":"2025-08-11","repo":{"name":"github.com/nodef/extra-gcpconfig","commit":"5faf268c7064bc50807faca60e886df61fe34f36"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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"}}]},"last_synced_at":"2025-08-22T02:35:53.697Z","repository_id":90491437,"created_at":"2025-08-22T02:35:53.697Z","updated_at":"2025-08-22T02:35:53.697Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":["cli","cloud","command","config","console","environment","extra","gcp","google","parameter","platform","shell","variable"],"created_at":"2024-11-27T19:10:19.386Z","updated_at":"2026-05-19T06:35:27.260Z","avatar_url":"https://github.com/nodef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Get ready to use [GCP Config] from parameters and environment variables.\n\u003e Do you want to:\n\u003e - Have GCP Config loaded from environment variables?\n\u003e - Get GCP Config from arguments?\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Setup\n\n1. Run `npm install -g extra-gcpconfig` in **console**.\n2. To install this as a package use `npm install extra-gcpconfig`.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Console\n\n```bash\ngcpconfig\n# get default GCP config\n\ngcpconfig --credentialsFile credentials.json\ngcpconfig --keyFilename credentials.json\n# use a custom credentials file\n## credentials/config file can be JSON\n```\n\n\n### Reference\n\n```bash\ngcpconfig [options]\n# -\u003e GCP config as JSON\n\n# Options:\n# --help: show this help\n# -cf, --credentialsFile: set custom GCP credentails file path\n# -kf, --keyFilename:     set custom GCP credentails file path\n\n# Environment variables:\n$GOOGLE_APPLICATION_CREDENTIALS # set default GCP credentails file path\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Package\n\n```javascript\nconst gcpconfig = require('extra-gcpconfig');\n\ngcpconfig();\n// get default GCP config\n\ngcpconfig({keyFilename: 'credentials.json'});\n// use a custom credentials file\n/// credentials/config file can be JSON\n\nvar A = process.argv, o = {};\nfor(var i=0, I=A.length; i\u003cI;)\n  i = gcpconfig.options(o, A[i], A, i);\ngcpconfig(o);\n// get GCP config from arguments\n```\n\n\n### Reference\n\n```javascript\nconst gcpconfig = require('extra-gcpconfig');\n\ngcpconfig.options(options, argument_key, arguments, index);\n// options: target object to store GCP config options\n// argument_key: name of the argument (ex: \"--help\")\n// arguments: arguments array (ex: process.argv)\n// index: current index in arguments array (ex: i=2...args.length)\n// -\u003e new index in arguments array\n\n\ngcpconfig(options);\n// options: custom GCP config options\n// -\u003e GCP config options\n\n// Default options:\noptions = {\n  keyFilename: null // set custom GCP credentails file path\n};\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Similar\n\nDo you need anything similar?\n\u003e - [extra-googletranslate] can translate long text to target language.\n\u003e - [extra-googletts] can generate speech from text.\n\nSuggestions are welcome. Please [create an issue].\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n[![nodef](https://i.imgur.com/eO4zcjv.jpg)](https://nodef.github.io)\n\u003e References: [GCP Config].\n\n![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-gcpconfig)\n\n[GCP Config]: https://cloud.google.com/docs/authentication/production\n[extra-googletranslate]: https://www.npmjs.com/package/extra-googletranslate\n[extra-googletts]: https://www.npmjs.com/package/extra-googletts\n[create an issue]: https://github.com/nodef/extra-gcpconfig/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-gcpconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodef%2Fextra-gcpconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-gcpconfig/lists"}