Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-12-05 06:24 UTC

zhangxiangliang / stock-api

查询 A 股、美股、港股与场内基金行情,并通过 Node.js、浏览器、CLI 或 MCP 快速接入。

TypeScript · JavaScriptMIT★ 2,016 stars⑂ 227 forkssince Jul 2020View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

zhangxiangliang/stock-api holds a health index of 77 out of 100, placing it in the Good band. It scores highest on Engineering Quality (93/100) and lowest on Security (30/100). It was last updated today. A single contributor accounts for most of its recent work.

77
overall / 100
Good

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.

77
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 66 is calibrated to 77 on the published index scale (record calibration 2026-08-02).

Ownership

zhangxiangliangPersonal account
138 followers17 public repossince Oct 2018

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
npmstock-api2.7.53,0704174 days agostockstocksstock-apistock-marketmarket-datafinancequotequotesnodejstypescripta-sharechina-stockhong-kong-stockus-stock

Metrics by category

Vitality

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

75Good · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
4.8/36Commit cadence — 7/52 weeks with commits
16.4/18Commit volume — 66 commits in the last year
2/10OpenSSF Scorecard: Maintained — 3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Inputs used
Commits in the last year66
Share of human-authored commits1
Days since last push0
Weeks with commits in the last year7

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 16 releases published
36/36Release recency — latest release 74 days ago
27/27Release cadence — a release every ~13.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases16
Latest release tagv2.7.5
Releases derived from version tagsno
Days since latest release74
Mean days between releases13.6
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?

64Moderate · 17% of overall
How it's scored
53.6/60Stars — 2,016 stars
19.6/25Forks — 227 forks
6.7/15Watchers — 17 watchers
Inputs used
Forks227
Stars2,016
Watchers17
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README14
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the READMEshields.io
Pull request template presentno
How it's scored
46.5/80Monthly downloads — 3,070 downloads/month across npm
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesstock-api
Registry dependents—
Package ecosystemsnpm
Total downloads—
Monthly downloads3,070
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?

61Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
5.4/22.5Commit distribution — top contributor authored 76% of commits
2.7/13.5Contributor breadth — 2 contributors
3/10OpenSSF Scorecard: Contributors — project has 1 contributing companies or organizations -- score normalized to 3
Inputs used
Bus factor1
Contributors sampled2
Share of commits by the top contributor0.758
How it's scored
42/42Issue resolution — 100% of issues closed
30/30PR acceptance — 1/1 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 0/30 approved changesets -- score normalized to 0
Inputs used
Merged pull requests1
Open issues0
Closed issues4
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed1
Pull requests closed without merging0
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
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
15.4/25Owner reach — 138 followers of zhangxiangliang
21.1/25Track record — 17 public repos, account ~8 yr old
Inputs used
Followers138
Owner account typeUser
Verified domain—
Owner accountzhangxiangliang
Public repositories17
Owner account age in days2,978
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on npm
35/35Publish recency — latest publish 74 days ago
20/20Version history — 41 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesstock-api
Package ecosystemsnpm
Any package deprecated or yankedno
Days since latest package publish74

Engineering Quality

Are baseline engineering and documentation practices in place?

93Exceptional · 19% of overall
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
16/16Linter config — eslint.config.mjs
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — no data
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentno
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: CI-Tests. Remaining weights renormalized.

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://zhangxiangliang.github.io/stock-api/
10/10Repository description
10/10Topics — 4 topics
10/10Wiki
Inputs used
Repository topicsbrowser, mcp, nodejs, stocks
Wiki enabledyes
Repository homepagehttps://zhangxiangliang.github.io/stock-api/
Documentation sitehttps://zhangxiangliang.github.io/stock-api/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

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

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.

64Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 66 of 66 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent1
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 — eslint.config.mjs
11/11Static type checking — test/tsconfig.json, tsconfig.json
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 66
0/8Automated maintenance — no automated dependency updates observed
2/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 2
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilespackage-lock.json
Dockerfile presentno
Primary language statically typedyes
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config filestest/tsconfig.json, 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)
55/55Manageable file sizes — 0/71 source files over 60KB
Inputs used
Primary languageTypeScript
Size of the largest source file (bytes)14,450
Source files sampled71
Oversized source files0
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

2,016GitHub stars
2contributors
66commits, last 12 months
0days since last push
16releases
1bus factor
0open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable
  • GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

More detail

Star and fork history 0 ★ / 227 ⇿
0Stars
227Forks
16Releases

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.

04080120160200240225252020-082023-102026-11
Major 0Minor 7Patch 9

Each point covers 6 days.

OpenSSF Scorecard 3.0 / 10
3.0aggregate

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-12-05 06:24 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
n/aCI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
2Maintained3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
10Packagingpackaging workflow detected
2Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
0SASTno SAST tool detected
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities89 existing vulnerabilities detected
All dependencies not collected

The resolved dependency set could not be collected for this report: GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

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.