{"id":2165565,"name":"pgtools","ecosystem":"npm","description":"Pure Node.js implementation of PostgreSQL's createdb and dropdb tools","homepage":"https://github.com/olalonde/pgtools#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/olalonde/pgtools","keywords_array":["postgres","postrgresql","createdb","dropdb","knex"],"namespace":null,"versions_count":16,"first_release_published_at":"2015-07-15T03:17:28.161Z","latest_release_published_at":"2023-08-09T20:09:00.432Z","latest_release_number":"1.0.1","last_synced_at":"2026-07-12T12:40:06.960Z","created_at":"2022-04-09T21:55:05.949Z","updated_at":"2026-07-12T20:48:39.009Z","registry_url":"https://www.npmjs.com/package/pgtools","install_command":"npm install pgtools","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.1","alpha":"1.0.0-2"}},"repo_metadata":{"id":3848190,"uuid":"39113183","full_name":"olalonde/pgtools","owner":"olalonde","description":"Pure Node.js implementation of PostgreSQL's createdb and dropdb tools.","archived":false,"fork":false,"pushed_at":"2023-10-18T22:11:43.000Z","size":267,"stargazers_count":77,"open_issues_count":1,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-05T19:16:51.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/olalonde.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":"2015-07-15T03:01:08.000Z","updated_at":"2025-02-24T12:28:10.000Z","dependencies_parsed_at":"2024-08-02T13:20:34.708Z","dependency_job_id":null,"html_url":"https://github.com/olalonde/pgtools","commit_stats":{"total_commits":58,"total_committers":11,"mean_commits":"5.2727272727272725","dds":0.6551724137931034,"last_synced_commit":"819ab4e3a76393278ca9ec53045a701175c830d4"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/olalonde/pgtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olalonde","download_url":"https://codeload.github.com/olalonde/pgtools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools/sbom","scorecard":{"id":704502,"data":{"date":"2025-08-11","repo":{"name":"github.com/olalonde/pgtools","commit":"03cb2a396ccdf9bfb3c403c198931b0b333d7758"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"Code-Review","score":1,"reason":"Found 2/12 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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/olalonde/pgtools/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/olalonde/pgtools/nodejs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/olalonde/pgtools/nodejs.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Info: no jobLevel write permissions found"],"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":"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":-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 23 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":2,"reason":"8 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-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"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-22T06:08:26.927Z","repository_id":3848190,"created_at":"2025-08-22T06:08:26.933Z","updated_at":"2025-08-22T06:08:26.933Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28123689,"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-12-30T02:00:05.476Z","response_time":64,"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"},"tags":[]},"repo_metadata_updated_at":"2026-07-12T20:48:38.980Z","dependent_packages_count":43,"downloads":68786,"downloads_period":"last-month","dependent_repos_count":1148,"rankings":{"downloads":0.7964932177506289,"dependent_repos_count":0.570680246137262,"dependent_packages_count":0.6655168482469949,"stargazers_count":5.417343203896855,"forks_count":4.687951530115768,"docker_downloads_count":0.24585653970535393,"average":2.063973597642144},"purl":"pkg:npm/pgtools","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/pgtools","docker_dependents_count":81,"docker_downloads_count":34254139,"usage_url":"https://repos.ecosyste.ms/usage/npm/pgtools","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/pgtools/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-07-28T02:47:16.324Z","issues_count":15,"pull_requests_count":37,"avg_time_to_close_issue":57396326.6,"avg_time_to_close_pull_request":15164730.722222222,"issues_closed_count":15,"pull_requests_closed_count":36,"pull_request_authors_count":14,"issue_authors_count":14,"avg_comments_per_issue":3.8,"avg_comments_per_pull_request":2.324324324324324,"merged_pull_requests_count":20,"bot_issues_count":0,"bot_pull_requests_count":16,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/olalonde%2Fpgtools/issues","maintainers":[{"login":"bcoe","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bcoe"},{"login":"adriaanvanrossum","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/adriaanvanrossum"},{"login":"olalonde","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/olalonde"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/pgtools/codemeta","maintainers":[{"uuid":"bcoe","login":"bcoe","name":null,"email":"bencoe@gmail.com","url":null,"packages_count":572,"html_url":"https://www.npmjs.com/~bcoe","role":null,"created_at":"2022-11-10T19:52:07.409Z","updated_at":"2022-11-10T19:52:07.409Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/bcoe/packages"},{"uuid":"olalonde","login":"olalonde","name":null,"email":"olalonde@gmail.com","url":null,"packages_count":137,"html_url":"https://www.npmjs.com/~olalonde","role":null,"created_at":"2022-11-10T19:52:07.389Z","updated_at":"2022-11-10T19:52:07.389Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/olalonde/packages"},{"uuid":"adriaanvanrossum","login":"adriaanvanrossum","name":null,"email":"npm@adriaan.io","url":null,"packages_count":4,"html_url":"https://www.npmjs.com/~adriaanvanrossum","role":null,"created_at":"2022-11-10T19:52:07.469Z","updated_at":"2022-11-10T19:52:07.469Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/adriaanvanrossum/packages"}]}