{"id":43523252,"url":"https://github.com/pcofilada/psgc","last_synced_at":"2026-02-03T14:35:52.072Z","repository":{"id":31751836,"uuid":"128783271","full_name":"pcofilada/psgc","owner":"pcofilada","description":"🇵🇭 Provides PSGC (Philippine Standard Geographic Code) data.","archived":false,"fork":false,"pushed_at":"2023-11-17T16:33:34.000Z","size":1268,"stargazers_count":32,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T23:31:07.292Z","etag":null,"topics":["json","philippines","philippines-dataset"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/psgc","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/pcofilada.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}},"created_at":"2018-04-09T14:17:00.000Z","updated_at":"2024-12-13T09:47:32.000Z","dependencies_parsed_at":"2023-11-17T17:48:23.240Z","dependency_job_id":null,"html_url":"https://github.com/pcofilada/psgc","commit_stats":{"total_commits":35,"total_committers":3,"mean_commits":"11.666666666666666","dds":"0.17142857142857137","last_synced_commit":"c78c4caab17731459ce4f6e19d92634c4804ea93"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/pcofilada/psgc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcofilada%2Fpsgc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcofilada%2Fpsgc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcofilada%2Fpsgc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcofilada%2Fpsgc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcofilada","download_url":"https://codeload.github.com/pcofilada/psgc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcofilada%2Fpsgc/sbom","scorecard":{"id":725249,"data":{"date":"2025-08-11","repo":{"name":"github.com/pcofilada/psgc","commit":"7c05e3cd20d93c00ed50de53c0317ae01d918816"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/17 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 19 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":"22 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-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","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-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-22T12:35:36.555Z","repository_id":31751836,"created_at":"2025-08-22T12:35:36.555Z","updated_at":"2025-08-22T12:35:36.555Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29047566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["json","philippines","philippines-dataset"],"created_at":"2026-02-03T14:35:51.917Z","updated_at":"2026-02-03T14:35:52.053Z","avatar_url":"https://github.com/pcofilada.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Philippine Standard Geographic Code (PSGC)\n\nProvides PSGC (Philippine Standard Geographic Code) data for your application.\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=pcofilada_psgc\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=pcofilada_psgc)\n![MIT License](https://img.shields.io/static/v1.svg?label=📜%20License\u0026message=MIT\u0026color=informational)\n![npm](https://img.shields.io/npm/v/psgc?color=brightgreen)\n![npm bundle size](https://img.shields.io/bundlephobia/min/psgc)\n\n## Installation\n\nPSGC is available via npm.\n\n    $ npm install --save psgc\n\nOr you can use yarn.\n\n    $ yarn add psgc\n\n## Usage\n\nImport psgc into your app.\n\n```js\nimport { regions, provinces, municipalities, barangays } from \"psgc\";\n```\n\nUse the methods `all`, `find`, or `filter` to get the data you need.\n\n```js\nregions.all(); // To get all regions\nregions.find(\"Ilocos Region\"); // To get a specific region, pass the exact region name\nregions.filter(\"loco\"); // To get a list of all regions with names that contain the argument; case-insensitive\n\nprovinces.all();\nprovinces.find(\"La Union\");\nregions.filter(\"la u\");\n\nmunicipalities.all();\nmunicipalities.find(\"Agoo\");\nmunicipalities.filter(\"agoo\");\n\nbarangays.all();\nbarangays.find(\"San Nicolas East\");\nbarangays.filter(\"san nico\");\n```\n\n## TODO\n\n- Add and update additional information about regions, provinces, municipalities and barangays\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Credits\n\n- [PSA Website](http://psa.gov.ph/)\n- [darklight721/philippines](https://github.com/darklight721/philippines)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcofilada%2Fpsgc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcofilada%2Fpsgc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcofilada%2Fpsgc/lists"}