{"id":1245197,"name":"sam-pattern","ecosystem":"npm","description":"SAM Pattern library","homepage":"https://github.com/jdubray/sam-lib#readme","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/jdubray/sam-lib","keywords_array":["SAM","Pattern","State","Management"],"namespace":null,"versions_count":56,"first_release_published_at":"2019-07-03T02:01:07.034Z","latest_release_published_at":"2021-04-10T10:31:49.466Z","latest_release_number":"1.5.10","last_synced_at":"2026-08-30T04:37:16.062Z","created_at":"2022-04-08T14:45:55.674Z","updated_at":"2026-08-30T04:37:16.062Z","registry_url":"https://www.npmjs.com/package/sam-pattern","install_command":"npm install sam-pattern","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.5.10"}},"repo_metadata":{"id":34999890,"uuid":"194949875","full_name":"cognitive-fab/sam-lib","owner":"cognitive-fab","description":"SAM Library","archived":false,"fork":false,"pushed_at":"2026-07-23T12:23:03.000Z","size":578,"stargazers_count":41,"open_issues_count":8,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-07-26T20:22:38.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://sam.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cognitive-fab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-02T23:54:28.000Z","updated_at":"2026-07-25T19:24:35.000Z","dependencies_parsed_at":"2024-11-14T15:36:25.615Z","dependency_job_id":"fc2d3a62-f773-4142-87b3-9efe1257cc8e","html_url":"https://github.com/cognitive-fab/sam-lib","commit_stats":null,"previous_names":["cognitive-fab/sam-lib"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cognitive-fab/sam-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitive-fab%2Fsam-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitive-fab%2Fsam-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitive-fab%2Fsam-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitive-fab%2Fsam-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cognitive-fab","download_url":"https://codeload.github.com/cognitive-fab/sam-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitive-fab%2Fsam-lib/sbom","scorecard":{"id":512905,"data":{"date":"2025-08-11","repo":{"name":"github.com/jdubray/sam-lib","commit":"1343c42fbbe91754895967acf344860626bc4f71"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"36 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-v88g-cgmw-v5xw","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-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","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-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-332q-7ff2-57h2","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-20T01:03:11.116Z","repository_id":34999890,"created_at":"2025-08-20T01:03:11.119Z","updated_at":"2025-08-20T01:03:11.119Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36861108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-23T02:00:05.822Z","response_time":128,"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":"jdubray","name":"Jean-Jacques Dubray","uuid":"446861","kind":"user","description":"","email":"","website":"http://sam.js.org","location":"Bellevue, WA","twitter":"metapgmr","company":null,"icon_url":"https://avatars.githubusercontent.com/u/446861?u=c2fc11d1f79de840ab321974ce7374b9141a6e10\u0026v=4","repositories_count":23,"last_synced_at":"2024-04-08T17:23:23.764Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/jdubray","funding_links":[],"total_stars":325,"followers":87,"following":3,"created_at":"2022-11-04T10:53:07.060Z","updated_at":"2024-04-08T17:23:28.974Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdubray","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdubray/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-08-23T21:17:01.273Z","dependent_packages_count":1,"downloads":124,"downloads_period":"last-month","dependent_repos_count":4,"rankings":{"downloads":12.378212364418445,"dependent_repos_count":5.600631526553282,"dependent_packages_count":21.02179662377837,"stargazers_count":6.963802023366283,"forks_count":7.354111170607204,"docker_downloads_count":null,"average":10.663710741744717},"purl":"pkg:npm/sam-pattern","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/sam-pattern","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/sam-pattern","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/sam-pattern/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-07-06T07:43:35.859Z","issues_count":1,"pull_requests_count":18,"avg_time_to_close_issue":16154343.0,"avg_time_to_close_pull_request":12394035.3,"issues_closed_count":1,"pull_requests_closed_count":10,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.3888888888888889,"merged_pull_requests_count":4,"bot_issues_count":0,"bot_pull_requests_count":14,"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/jdubray%2Fsam-lib/issues","maintainers":[{"login":"jdubray","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jdubray"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sam-pattern/codemeta","maintainers":[{"uuid":"jdubray","login":"jdubray","name":null,"email":"jdubray@gmail.com","url":null,"packages_count":14,"html_url":"https://www.npmjs.com/~jdubray","role":null,"created_at":"2022-11-10T20:10:58.957Z","updated_at":"2022-11-10T20:10:58.957Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jdubray/packages"}]}