Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-13 01:13 UTC

commercelayer / commercelayer-js-auth

A lightweight JavaScript library designed to simplify authentication when interacting with the Commerce Layer API. On your browser, server, or at the edge.

TypeScriptCustom license★ 7 stars⑂ 3 forkssince Nov 2019View on GitHub ↗

commercelayer/commercelayer-js-auth holds a health index of 88 out of 100, placing it in the Excellent band. It scores highest on Vitality (81/100) and lowest on Community & Adoption (56/100). It was last updated 10 days ago. A single contributor accounts for most of its recent work.

88
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

88
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 74 is calibrated to 88 on the published index scale (record calibration 2026-08-02).

Ownership

Commerce LayerOrganization · verified domain
103 followers93 public repossince Jul 2015Commerce Layer, Inc.

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
npm@commercelayer/js-auth8.1.033,3027110 days agojamstackheadlessecommerceapiauth

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

81Excellent · 21% of overall
How it's scored
28.8/36Push recency — last push 10 days ago
12.5/36Commit cadence — 18/52 weeks with commits
17/18Commit volume — 78 commits in the last year
10/10OpenSSF Scorecard: Maintained — 20 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year78
Share of human-authored commits1
Days since last push10
Weeks with commits in the last year18

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 61 releases published
36/36Release recency — latest release 10 days ago
27/27Release cadence — a release every ~33.1 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases61
Latest release tagv8.1.0
Releases derived from version tagsno
Days since latest release10
Mean days between releases33.1
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

56Moderate · 17% of overall
How it's scored
12.6/60Stars — 7 stars
2.5/25Forks — 3 forks
1.7/15Watchers — 3 watchers
Inputs used
Forks3
Stars7
Watchers3
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

86Excellent
How it's scored
22.5/22.5README
16.9/22.5License — license file present, not a recognized license
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentyes
How it's scored
60.3/80Monthly downloads — 33,302 downloads/month across npm
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packages@commercelayer/js-auth
Registry dependents—
Package ecosystemsnpm
Total downloads—
Monthly downloads33,302
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

76Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
8.5/22.5Commit distribution — top contributor authored 62% of commits
12.2/13.5Contributor breadth — 9 contributors
10/10OpenSSF Scorecard: Contributors — project has 3 contributing companies or organizations -- score normalized to 10
Inputs used
Bus factor1
Contributors sampled9
Share of commits by the top contributor0.623
How it's scored
42/42Issue resolution — 100% of issues closed
26.9/30PR acceptance — 113/126 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
7.5/15OpenSSF Scorecard: Code-Review — Found 9/17 approved changesets -- score normalized to 5
Inputs used
Merged pull requests113
Open issues0
Closed issues21
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days2
Pull requests decided in the last 30 days2
Share of issues closed1
Pull requests closed without merging13
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
14.5/25Owner reach — 103 followers of commercelayer
25/25Track record — 93 public repos, account ~11 yr old
Inputs used
Followers103
Owner account typeOrganization
Verified domainyes
Owner accountcommercelayer
Public repositories93
Owner account age in days4,136

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on npm
35/35Publish recency — latest publish 10 days ago
20/20Version history — 71 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packages@commercelayer/js-auth
Package ecosystemsnpm
Any package deprecated or yankedno
Days since latest package publish10

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 19% of overall
How it's scored
24/24CI workflows — 7 workflow(s)
24/24Tests present
16/16Linter config — biome.json
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 9 out of 9 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://docs.commercelayer.io/api/authentication
10/10Repository description
10/10Topics — 4 topics
0/10Wiki
Inputs used
Repository topicsjamstack, ecommerce, oauth2, commercelayer
Wiki enabledno
Repository homepagehttps://docs.commercelayer.io/api/authentication
Documentation sitehttps://docs.commercelayer.io/api/authentication
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

73Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 9 out of 9 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
3.8/7.5Code-Review — Found 9/17 approved changesets -- score normalized to 5
2.5/2.5Contributors — project has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5License — license file detected
7.5/7.5Maintained — 20 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6/7.5Vulnerabilities — 2 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated16
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive2
OpenSSF Scorecard aggregate score6.6
Excluded from scoring (no data or not applicable): Branch-Protection, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages2
Packages affected by advisories2
Packages assessed148
Packages not assessed19
Affected packages by severitymoderate 2
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 148 resolved dependencies against OSV. 19 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

68Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://docs.commercelayer.io/llms.txt)
40/40Legible commit history — 84 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project websitehttps://docs.commercelayer.io/llms.txt
Share of human commits that state their intent0.84
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — biome.json
11/11Static type checking — examples/cloudflare-workers/test/tsconfig.json, examples/cloudflare-workers/tsconfig.json, examples/nextjs/tsconfig.json, packages/js-auth/tsconfig.json
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilespnpm-lock.yaml
Dockerfile presentno
Primary language statically typedyes
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config filesexamples/cloudflare-workers/test/tsconfig.json, examples/cloudflare-workers/tsconfig.json, examples/nextjs/tsconfig.json, packages/js-auth/tsconfig.json
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
45/45Type-checkable code — TypeScript (statically typed)
54.3/55Manageable file sizes — 1/84 source files over 60KB
Inputs used
Primary languageTypeScript
Size of the largest source file (bytes)549,618
Source files sampled84
Oversized source files1
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples
Inputs used
Runnable example directoriesexamples
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

7GitHub stars
9contributors
78commits, last 12 months
10days since last push
61releases
1bus factor
0open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 3 ⇿
0Stars
3Forks
37Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

12233312019-122022-042024-08
Major 5Minor 10Patch 19

Each point covers 5 days.

OpenSSF Scorecard 6.6 / 10
6.6aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-13 01:12 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests9 out of 9 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
5Code-ReviewFound 9/17 approved changesets -- score normalized to 5
10Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
10Maintained20 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
8Vulnerabilities2 existing vulnerabilities detected
All dependencies 167

Full resolved dependency set from the GitHub dependency graph: 0 direct and 167 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
npm@biomejs/biome2.6.4indirect
npm@biomejs/cli-android-arm642.6.4indirect
npm@biomejs/cli-android-x642.6.4indirect
npm@biomejs/cli-darwin-arm642.6.4indirect
npm@biomejs/cli-darwin-x642.6.4indirect
npm@biomejs/cli-linux-arm642.6.4indirect
npm@biomejs/cli-linux-arm64-musl2.6.4indirect
npm@biomejs/cli-linux-x642.6.4indirect
npm@biomejs/cli-linux-x64-musl2.6.4indirect
npm@biomejs/cli-win32-arm642.6.4indirect
npm@biomejs/cli-win32-x642.6.4indirect
npm@cloudflare/vitest-pool-workers^0.23.0indirect
npm@jridgewell/resolve-uri3.1.2indirect
npm@jridgewell/sourcemap-codec1.6.0indirect
npm@jridgewell/trace-mapping0.3.31indirect
npm@oxc-project/types0.156.0indirect
npm@quansync/fs1.1.0indirect
npm@rolldown/binding-android-arm-eabi1.2.16indirect
npm@rolldown/binding-android-arm641.2.16indirect
npm@rolldown/binding-darwin-arm641.2.16indirect
npm@rolldown/binding-darwin-x641.2.16indirect
npm@rolldown/binding-freebsd-x641.2.16indirect
npm@rolldown/binding-linux-arm-gnueabihf1.2.16indirect
npm@rolldown/binding-linux-arm64-gnu1.2.16indirect
npm@rolldown/binding-linux-arm64-musl1.2.16indirect
npm@rolldown/binding-linux-ppc64-gnu1.2.16indirect
npm@rolldown/binding-linux-s390x-gnu1.2.16indirect
npm@rolldown/binding-linux-x64-gnu1.2.16indirect
npm@rolldown/binding-linux-x64-musl1.2.16indirect
npm@rolldown/binding-openharmony-arm641.2.16indirect
npm@rolldown/binding-win32-arm64-msvc1.2.16indirect
npm@rolldown/binding-win32-x64-msvc1.2.16indirect
npm@rolldown/pluginutils1.0.1indirect
npm@types/chai5.2.3indirect
npm@types/deep-eql4.0.2indirect
npm@types/estree1.0.10indirect
npm@types/js-cookie^3.0.6indirect
npm@types/jsonwebtoken9.0.10indirect
npm@types/jsonwebtoken^9.0.10indirect
npm@types/ms2.1.0indirect
npm@types/node20.19.43indirect
npm@types/node^20indirect
npm@types/node^20.19.43indirect
npm@types/react^19indirect
npm@types/react-dom^19indirect
npm@vitest/mocker5.0.5indirect
npm@vitest/spy5.0.5indirect
npm@yuku-core/binding-android-arm640.19.0indirect
npm@yuku-core/binding-darwin-arm640.19.0indirect
npm@yuku-core/binding-darwin-x640.19.0indirect
npm@yuku-core/binding-freebsd-x640.19.0indirect
npm@yuku-core/binding-linux-arm-gnu0.19.0indirect
npm@yuku-core/binding-linux-arm-musl0.19.0indirect
npm@yuku-core/binding-linux-arm64-gnu0.19.0indirect
npm@yuku-core/binding-linux-arm64-musl0.19.0indirect
npm@yuku-core/binding-linux-x64-gnu0.19.0indirect
npm@yuku-core/binding-linux-x64-musl0.19.0indirect
npm@yuku-core/binding-win32-arm640.19.0indirect
npm@yuku-core/binding-win32-x640.19.0indirect
npm@yuku-toolchain/types0.19.0indirect
npmansi-regex6.5.0indirect
npmansi-styles6.2.3indirect
npmassertion-error2.0.1indirect
npmbalanced-match4.0.4indirect
npmbrace-expansion5.0.12indirect
npmbuffer-equal-constant-time1.0.1indirect
npmcac7.1.0indirect
npmchai6.3.0indirect
npmchalk6.0.1indirect
npmcliui9.0.1indirect
npmdefu6.1.7indirect
npmdetect-libc2.1.2indirect
npmdts-resolver3.0.0indirect
npmecdsa-sig-formatter1.0.11indirect
npmemoji-regex10.6.0indirect
npmempathic2.1.0indirect
npmes-module-lexer2.3.2indirect
npmescalade3.2.0indirect
npmestree-walker3.0.3indirect
npmexpect-type1.4.0indirect
npmfdir6.5.0indirect
npmfsevents2.3.3indirect
npmget-caller-file2.0.5indirect
npmget-east-asian-width1.7.0indirect
npmget-tsconfig5.0.0-beta.6indirect
npmglob13.0.6indirect
npmhookable6.1.2indirect
npmhusky9.1.7indirect
npmimport-without-cache0.4.1indirect
npmioredis^6.0.0indirect
npmjs-cookie^3.0.8indirect
npmjsonwebtoken9.0.3indirect
npmjsonwebtoken^9.0.3indirect
npmjwa2.0.1indirect
npmjws4.0.1indirect
npmlightningcss1.33.0indirect
npmlightningcss-android-arm641.33.0indirect
npmlightningcss-darwin-arm641.33.0indirect
npmlightningcss-darwin-x641.33.0indirect
npmlightningcss-freebsd-x641.33.0indirect
npmlightningcss-linux-arm-gnueabihf1.33.0indirect
npmlightningcss-linux-arm64-gnu1.33.0indirect
npmlightningcss-linux-arm64-musl1.33.0indirect
npmlightningcss-linux-x64-gnu1.33.0indirect
npmlightningcss-linux-x64-musl1.33.0indirect
npmlightningcss-win32-arm64-msvc1.33.0indirect
npmlightningcss-win32-x64-msvc1.33.0indirect
npmlodash.includes4.3.0indirect
npmlodash.isboolean3.0.3indirect
npmlodash.isinteger4.0.4indirect
npmlodash.isnumber3.0.3indirect
npmlodash.isplainobject4.0.6indirect
npmlodash.isstring4.0.1indirect
npmlodash.once4.1.1indirect
npmlru-cache11.5.3indirect
npmmagic-string1.4.5indirect
npmminimatch10.2.6indirect
npmminipass7.1.3indirect
npmms2.1.3indirect
npmnanoid3.3.20indirect
npmnext^16.4.3indirect
npmobug3.0.0indirect
npmpath-scurry2.0.2indirect
npmpicocolors1.1.1indirect
npmpicomatch4.0.7indirect
npmpostcss8.5.32indirect
npmquansync1.0.0indirect
npmreact^19indirect
npmreact-dom^19indirect
npmreplace-in-file9.0.0indirect
npmresolve-pkg-maps1.0.0indirect
npmrolldown1.2.16indirect
npmrolldown-plugin-dts0.28.8indirect
npmsafe-buffer5.2.1indirect
npmsemver7.8.5indirect
npmsource-map-js1.2.2indirect
npmstd-env4.3.0indirect
npmstring-width7.2.0indirect
npmstring-width8.3.0indirect
npmstrip-ansi7.2.0indirect
npmtinybench6.2.2indirect
npmtinyexec1.3.1indirect
npmtinyglobby0.2.17indirect
npmtinyps0.5.1indirect
npmtsdown0.23.4indirect
npmtsdown^0.23.4indirect
npmtypescript6.0.3indirect
npmtypescript^6.0.3indirect
npmunconfig-core7.5.0indirect
npmundici-types6.21.0indirect
npmunstorage^1.17.6indirect
npmverkit0.5.0indirect
npmvite8.3.5indirect
npmvitest5.0.5indirect
npmvitest^5.0.5indirect
npmvitest-fetch-mock0.4.5indirect
npmvitest-fetch-mock^0.4.5indirect
npmwhy-is-node-running3.2.1indirect
npmwrangler^4.156.0indirect
npmwrap-ansi9.0.2indirect
npmy18n5.0.8indirect
npmyargs18.2.0indirect
npmyargs-parser22.0.0indirect
npmyuku-ast0.19.0indirect
npmyuku-codegen0.19.0indirect
npmyuku-core0.19.0indirect
npmyuku-parser0.19.0indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 148 packages, which also include development and test pins that never ship: 2 carry known advisories, of which 0 are direct. 19 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
glob13.0.6indirectmoderate114.0.2
minimatch10.2.6indirectmoderate111.0.1

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — npm.