{"id":1152036,"name":"@ripeworks/lego-sql","ecosystem":"npm","description":"A lightweight SQL (string) builder using ES6 template strings. Lego embraces SQL instead of adding yet another abstraction layer.","homepage":"https://github.com/martijndeh/lego#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/martijndeh/lego","keywords_array":["lego","sql","postgres","knex","sql builder","template strings"],"namespace":"ripeworks","versions_count":4,"first_release_published_at":"2019-02-06T11:30:57.147Z","latest_release_published_at":"2022-03-22T17:59:56.876Z","latest_release_number":"6.0.0","last_synced_at":"2026-03-12T08:19:32.219Z","created_at":"2022-04-08T12:14:49.979Z","updated_at":"2026-03-12T09:42:33.840Z","registry_url":"https://www.npmjs.com/package/@ripeworks/lego-sql","install_command":"npm install @ripeworks/lego-sql","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"6.0.0"}},"repo_metadata":{"id":65380419,"uuid":"48989531","full_name":"martijndeh/lego","owner":"martijndeh","description":"A lightweight SQL (string) builder using ES6 template strings. Lego embraces SQL instead of adding yet another abstraction layer.","archived":false,"fork":false,"pushed_at":"2018-01-19T15:00:19.000Z","size":152,"stargazers_count":55,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-26T00:53:23.541Z","etag":null,"topics":["javascript","postgres","sql"],"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/martijndeh.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":"2016-01-04T10:13:46.000Z","updated_at":"2023-01-20T09:56:28.000Z","dependencies_parsed_at":"2023-01-20T12:06:06.882Z","dependency_job_id":null,"html_url":"https://github.com/martijndeh/lego","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/martijndeh/lego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martijndeh%2Flego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martijndeh%2Flego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martijndeh%2Flego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martijndeh%2Flego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martijndeh","download_url":"https://codeload.github.com/martijndeh/lego/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martijndeh%2Flego/sbom","scorecard":{"id":621410,"data":{"date":"2025-08-11","repo":{"name":"github.com/martijndeh/lego","commit":"aa40da7fc3034e8d24304a21710533e3153e33b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Code-Review","score":0,"reason":"Found 1/29 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":"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":"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":"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":"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":"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":"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 2 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-21T05:19:11.554Z","repository_id":65380419,"created_at":"2025-08-21T05:19:11.555Z","updated_at":"2025-08-21T05:19:11.555Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275832929,"owners_count":25536821,"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-18T02:00:09.552Z","response_time":77,"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"},"owner_record":{"login":"martijndeh","name":"Martijn de Haan","uuid":"178230","kind":"user","description":"","email":"","website":"https://ff00ff.nl","location":"Amsterdam, The Netherlands","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/178230?u=2a1f826cd128be523d5eb7458031f49aecea75db\u0026v=4","repositories_count":53,"last_synced_at":"2024-04-14T07:01:40.112Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/martijndeh","funding_links":[],"total_stars":208,"followers":38,"following":4,"created_at":"2022-11-04T21:50:08.274Z","updated_at":"2024-04-14T07:01:48.926Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martijndeh","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martijndeh/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-12T09:42:33.808Z","dependent_packages_count":1,"downloads":14,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":60.24040413329356,"dependent_repos_count":10.302192564346997,"dependent_packages_count":20.916208435344245,"stargazers_count":5.855969640634808,"forks_count":8.86762447197996,"docker_downloads_count":null,"average":21.236479849119913},"purl":"pkg:npm/%40ripeworks/lego-sql","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@ripeworks/lego-sql","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@ripeworks/lego-sql","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@ripeworks/lego-sql/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-26T00:53:49.661Z","issues_count":1,"pull_requests_count":3,"avg_time_to_close_issue":135698.0,"avg_time_to_close_pull_request":7057207.333333333,"issues_closed_count":1,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":2.3333333333333335,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"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/martijndeh%2Flego/issues","maintainers":[{"login":"martijndeh","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/martijndeh"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@ripeworks%2Flego-sql/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@ripeworks%2Flego-sql/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@ripeworks%2Flego-sql/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@ripeworks%2Flego-sql/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@ripeworks%2Flego-sql/codemeta","maintainers":[{"uuid":"tamagokun","login":"tamagokun","name":null,"email":"mike@ripeworks.com","url":null,"packages_count":36,"html_url":"https://www.npmjs.com/~tamagokun","role":null,"created_at":"2022-11-20T23:13:37.832Z","updated_at":"2022-11-20T23:13:37.832Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/tamagokun/packages"}]}