Public record
Software health reportschema 0.27.0 · metrics 1.13.0 · 2026-07-22 22:31 UTC

sindresorhus / detect-newline

Detect the dominant newline character of a string

JavaScript · TypeScriptMIT★ 56 stars⑂ 6 forkssince Jun 2014View on GitHub ↗

sindresorhus/detect-newline holds a health index of 44 out of 100, placing it in the At risk band. It scores highest on Community & Adoption (70/100) and lowest on AI Readiness (14/100). It was last updated 1033 days ago. A single contributor accounts for most of its recent work.

44
overall / 100
At risk

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At risk ceiling of 49. AI Readiness sits outside the overall score.

44
Excellent85-100Exemplary; meets essentially all checked criteria
Good70-84Healthy; minor gaps
Moderate50-69Acceptable with notable gaps; review recommended
At risk30-49Significant weaknesses; adoption warrants caution
Critical1-29Severe 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.

Ownership

Sindre SorhusPersonal account
80,372 followers1,140 public repossince Dec 2009

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
npmdetect-newline4.0.1179,091,161131034 days agonewlinelinebreakline-breaklinelfcrlfeollinefeedcharacter

Metrics by category

Vitality

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

15Critical · 22% of overall
How it's scored
0/36Push recency — last push 1,033 days ago
0/36Commit cadence — 0/52 weeks with commits
0/18Commit volume — 0 commits in the last year
0/10OpenSSF Scorecard: Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year0
human_commit_share1
days_since_last_push1,033
active_weeks_last_year0
How it's scored
27/27Ships releases — 4 releases published
0/36Release recency — latest release 1,033 days ago
5.4/27Release cadence — a release every ~541.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count4
latest_release_tagv4.0.1
releases_from_tagsno
days_since_latest_release1,033
mean_days_between_releases541.9
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?

70Good · 18% of overall
How it's scored
28.2/60Stars — 56 stars
5.8/25Forks — 6 forks
2.7/15Watchers — 4 watchers
Inputs used
forks6
stars56
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
has_contributingyes
has_issue_templateno
has_code_of_conductyes
has_pull_request_templateno
How it's scored
80/80Monthly downloads — 179,091,161 downloads/month across npm
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesdetect-newline
dependents
ecosystemsnpm
total_downloads
monthly_downloads179,091,161
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 · 24% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
5.2/22.5Commit distribution — top contributor authored 77% of commits
12.2/13.5Contributor breadth — 9 contributors
10/10OpenSSF Scorecard: Contributors — project has 15 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled9
top_contributor_share0.769
How it's scored
46.8/46.8Issue resolution — 100% of issues closed
21.2/38.3PR acceptance — 5/9 decided PRs merged
1.5/15OpenSSF Scorecard: Code-Review — Found 5/30 approved changesets -- score normalized to 1
Inputs used
merged_prs5
open_issues0
closed_issues3
issue_closed_ratio1
closed_unmerged_prs4
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
25/25Owner reach — 80,372 followers of sindresorhus
25/25Track record — 1,140 public repos, account ~16 yr old
Inputs used
followers80,372
owner_typeUser
is_verified
owner_loginsindresorhus
public_repos1,140
account_age_days6,057
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable — 1 package(s) on npm
4/35Publish recency — latest publish 1,034 days ago
20/20Version history — 13 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesdetect-newline
ecosystemsnpm
any_deprecatedno
min_days_since_publish1,034

Engineering Quality

Are baseline engineering and documentation practices in place?

34At risk · 20% of overall
How it's scored
24/24CI workflows — 1 workflow(s)
0/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — 0 out of 5 merged PRs checked by a CI test -- score normalized to 0
Inputs used
has_ciyes
has_testsno
has_editorconfigyes
has_linter_configno
has_precommit_configno

Documentation

40At risk
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
0/10Topics
0/10Wiki
Inputs used
topics
has_wikino
homepage
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

39At 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 — 0 out of 5 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 5/30 approved changesets -- score normalized to 1
2.5/2.5Contributors — project has 15 contributing companies or organizations
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
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — no data
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
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate3.9
Excluded from scoring (no data or not applicable): packaging, signed_releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score.

14Critical · 0% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
9.6/40Legible commit history — 7 of 39 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.179
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
0/22Automated tests
0/11Lint / format config
0/11Static type checking
0/10Reproducible environment
0/10Demonstrated agent practice — no agent-authored commits among the last 39
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
has_nixno
has_testsno
lockfiles
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
How it's scored
0/45Type-checkable code — JavaScript without a type-check config
55/55Manageable file sizes — 0/4 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes811
source_files_sampled4
oversized_source_files0

Key facts

56GitHub stars
9contributors
0commits, last 12 months
1,033days since last push
4releases
1bus factor
0open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • No resolved dependencies carried a version and a supported ecosystem

More detail

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

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.

12345512015-122019-112023-09
Major 2Minor 1Patch 0

Each point covers 8 days.

OpenSSF Scorecard 3.9 / 10
3.9aggregate

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-07-22 22:31 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests0 out of 5 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 5/30 approved changesets -- score normalized to 1
10Contributorsproject has 15 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not 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
10Vulnerabilities0 existing vulnerabilities detected
All dependencies 3

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

RegistryPackageVersionRelation
npmava^3.15.0indirect
npmtsd^0.18.0indirect
npmxo^0.45.0indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 24,
      "has_wiki": false,
      "homepage": null,
      "languages": {
        "JavaScript": 1233,
        "TypeScript": 487
      },
      "pushed_at": "2023-09-23T02:22:52Z",
      "created_at": "2014-06-28T14:33:02Z",
      "owner_type": "User",
      "updated_at": "2026-04-27T15:10:00Z",
      "description": "Detect the dominant newline character of a string",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "JavaScript",
      "significant_languages": [
        "JavaScript",
        "TypeScript"
      ]
    },
    "owner": {
      "blog": "https://sindresorhus.com/apps",
      "name": "Sindre Sorhus",
      "type": "User",
      "login": "sindresorhus",
      "company": null,
      "location": null,
      "followers": 80372,
      "avatar_url": "https://avatars.githubusercontent.com/u/170270?v=4",
      "created_at": "2009-12-20T22:57:02Z",
      "is_verified": null,
      "public_repos": 1140,
      "account_age_days": 6057
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v4.0.1",
          "kind": "patch",
          "published_at": "2023-09-23T02:23:19Z"
        },
        {
          "tag": "v4.0.0",
          "kind": "major",
          "published_at": "2021-10-14T08:16:57Z"
        },
        {
          "tag": "v3.1.0",
          "kind": "minor",
          "published_at": "2019-11-13T08:43:27Z"
        },
        {
          "tag": "v3.0.0",
          "kind": "major",
          "published_at": "2019-04-11T08:26:02Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "78057f25d73b201958ef7415ecde5d1ab662f2f2",
          "body": null,
          "is_bot": false,
          "headline": "4.0.1",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2023-09-22T19:01:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4a4cf9421f0d401d4d99976f28a2ebfe6742758d",
          "body": null,
          "is_bot": false,
          "headline": "Clarify return values in docs (#12)",
          "author_name": "silverwind",
          "author_login": "silverwind",
          "committed_at": "2023-09-22T18:57:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "36e1f24f9bf6c733000f7a9a6a22c6b0c2196d16",
          "body": null,
          "is_bot": false,
          "headline": "Meta tweaks",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2022-07-08T11:08:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "dd540459b7b095b82a487e7e47642ed8b946ca55",
          "body": null,
          "is_bot": false,
          "headline": "4.0.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2021-10-14T08:15:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5539419ede22892c50a898ff416845224bf6282e",
          "body": null,
          "is_bot": false,
          "headline": "Require Node.js 12.20 and move to ESM",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2021-10-14T08:14:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9e2c75100aa7ae89faf57c8116f596cb14c0a0c2",
          "body": null,
          "is_bot": false,
          "headline": "Move to GitHub Actions (#10)",
          "author_name": "Richie Bendall",
          "author_login": "Richienb",
          "committed_at": "2021-01-01T15:22:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "991b31d4ef88471d476f173bdb4e9ab63ea7b85e",
          "body": null,
          "is_bot": false,
          "headline": "3.1.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2019-11-13T08:24:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4fb2614419bbe49963b9ed5cb0aceeb188334439",
          "body": null,
          "is_bot": false,
          "headline": "Gracefully handle non-string inputs (#9)",
          "author_name": "Maxim Devoir",
          "author_login": "MaximDevoir",
          "committed_at": "2019-11-13T08:09:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ecf81a39ff2d41b921c8808f88aca5cae4b8bf46",
          "body": null,
          "is_bot": false,
          "headline": "Create funding.yml",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2019-05-28T10:29:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c4f3aba414b8bf8b57125f1954f1f8ea9ce11d24",
          "body": null,
          "is_bot": false,
          "headline": "3.0.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2019-04-11T08:24:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "446e98ca78b1941dd9bccbfdf407b224ba70958a",
          "body": null,
          "is_bot": false,
          "headline": "Return `undefined` instead of `null` when no newline is found",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2019-04-11T08:23:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "841de59d3ed68403f64d97aa25fecc6c2f2e4677",
          "body": null,
          "is_bot": false,
          "headline": "Require Node.js 8, add TypeScript definition (#7)",
          "author_name": "Dimitri Benin",
          "author_login": "BendingBender",
          "committed_at": "2019-04-11T08:19:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6d96229078f55b65e6252dd2c0a42006e6a81833",
          "body": null,
          "is_bot": false,
          "headline": "2.1.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-16T18:42:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4c9e2f3c85679744d441a19c681bef72cb933b49",
          "body": "ideas for better name please?!?! :)",
          "is_bot": false,
          "headline": "add `.graceful` method",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-16T18:41:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "54a9b9948dba1e7e6d32534be4f12b3aa64baee5",
          "body": null,
          "is_bot": false,
          "headline": "2.0.1",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-09T12:52:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "680c1499d18eb2f9b6f23509eab1877267667388",
          "body": null,
          "is_bot": false,
          "headline": ":goat:",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-09T12:52:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9b1adb4c58c87d9bf2c18d83c186094cf5e45ab5",
          "body": null,
          "is_bot": false,
          "headline": "2.0.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-09T12:42:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4038cd7062c76a88ddba0ae0228f9acc91326d71",
          "body": null,
          "is_bot": false,
          "headline": "extract the CLI into a separate module",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2016-02-09T12:38:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "65aff2dc5c9bdaa2c165cd8230207ae4abbc8239",
          "body": null,
          "is_bot": false,
          "headline": "Close #5 PR: Return `null` when no newline character can be detected.",
          "author_name": "Blake Embrey",
          "author_login": "blakeembrey",
          "committed_at": "2016-02-09T08:47:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea247ed283f89559b5801a010d3f4cbc0c910a37",
          "body": "Travis CI: Test on Node.js v4.x.x and v5.x.x",
          "is_bot": false,
          "headline": "Merge pull request #6 from ntwb/patch-1",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-12-29T17:10:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2dd9356ba8037492dc93299701980a3c188c8827",
          "body": null,
          "is_bot": false,
          "headline": "Travis CI: Test on Node.js v4.x.x and v5.x.x",
          "author_name": "Stephen Edgar",
          "author_login": "ntwb",
          "committed_at": "2015-12-29T15:06:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d42545727f09b78c0e8a68e6ed91aa23be08afb5",
          "body": null,
          "is_bot": false,
          "headline": "tweaks",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-10-05T15:31:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f421487e338addc6b19c0f9f01a3b294ac50d8fd",
          "body": null,
          "is_bot": false,
          "headline": "simplify cli help creation",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-06-19T00:00:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "baf401bbabe528d26e786f827785ba8a79df6710",
          "body": null,
          "is_bot": false,
          "headline": "minor package.json tweaks",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-05-19T19:08:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0f83ae70956f47cea4b9a635e080544b9a3f0a09",
          "body": null,
          "is_bot": false,
          "headline": "Tweaks",
          "author_name": "Kevin Martensson",
          "author_login": "kevva",
          "committed_at": "2015-03-23T19:06:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c21c92460b9488ba8cd8a1132ba1899e49a02a73",
          "body": null,
          "is_bot": false,
          "headline": "Use `meow` in CLI",
          "author_name": "Kevin Martensson",
          "author_login": "kevva",
          "committed_at": "2015-03-23T19:06:27Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4a94cd938a233e304e11a3a6a0a8f855742fdc07",
          "body": null,
          "is_bot": false,
          "headline": "1.0.3",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-02-16T17:27:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1acfbbd090dc16858dc5e0e3998d18a43b5103e7",
          "body": null,
          "is_bot": false,
          "headline": "bump deps",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-02-16T17:27:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "00b4b6ae7259a0d99f004eb17ccec3fcb548e938",
          "body": null,
          "is_bot": false,
          "headline": "Update .travis.yml",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-02-08T11:45:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "018a1ca8f0070187c0b4f8aa7748e18d65ecec12",
          "body": null,
          "is_bot": false,
          "headline": "1.0.2",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2015-01-24T11:54:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fe837f3a3e4a9082e49cbb90afeeef886511f954",
          "body": null,
          "is_bot": false,
          "headline": "Close #1 PR: Count newlines separately even if they are side by side.",
          "author_name": "Jakob Krigovsky",
          "author_login": "sonicdoe",
          "committed_at": "2015-01-24T11:54:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "63586bdc682814db858c4af1c685f21e63b03e4e",
          "body": null,
          "is_bot": false,
          "headline": "1.0.1",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-08-17T23:44:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9d5cb29e541cb62f76768ab45112100f503724e0",
          "body": null,
          "is_bot": false,
          "headline": "minor tweaks",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-08-17T23:44:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "76e7e19f7ce404817de91ce304bc453e27e6c9e1",
          "body": null,
          "is_bot": false,
          "headline": "1.0.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-08-14T18:24:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ccc4a20d33644a1865996cef1878f9e82ac9c79e",
          "body": null,
          "is_bot": false,
          "headline": "tweaks",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-08-14T18:24:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d3fbd02bb44716be2442ad26a929a70ebdbb6593",
          "body": null,
          "is_bot": false,
          "headline": "0.1.1",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-06-28T14:59:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "31f79db6bdf3315b2a690ca6c76ab988d10f9515",
          "body": null,
          "is_bot": false,
          "headline": "fix showing help on empty input",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-06-28T14:59:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "001ff2a25f498814b220ff9d86062dfb2288f13d",
          "body": null,
          "is_bot": false,
          "headline": "0.1.0",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-06-28T14:34:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "495478b77dc43b07db0a096d6ac186c832c7ccc9",
          "body": null,
          "is_bot": false,
          "headline": "init",
          "author_name": "Sindre Sorhus",
          "author_login": "sindresorhus",
          "committed_at": "2014-06-28T14:32:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 4,
      "commits_last_year": 0,
      "latest_release_at": "2023-09-23T02:23:19Z",
      "latest_release_tag": "v4.0.1",
      "releases_from_tags": false,
      "days_since_last_push": 1033,
      "active_weeks_last_year": 0,
      "days_since_latest_release": 1033,
      "mean_days_between_releases": 541.9
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": true,
      "health_percentage": 85,
      "has_issue_template": false,
      "has_code_of_conduct": true,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "detect-newline",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "newline",
            "linebreak",
            "line-break",
            "line",
            "lf",
            "crlf",
            "eol",
            "linefeed",
            "character"
          ],
          "ecosystem": "npm",
          "matches_repo": true,
          "registry_url": "https://www.npmjs.com/package/detect-newline",
          "is_deprecated": false,
          "latest_version": "4.0.1",
          "repository_url": "https://github.com/sindresorhus/detect-newline",
          "versions_count": 13,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": 1,
          "monthly_downloads": 179091161,
          "first_published_at": "2014-06-28T14:34:10.819000Z",
          "latest_published_at": "2023-09-22T18:59:49.617000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 1034
        }
      ]
    },
    "popularity": {
      "forks": 6,
      "stars": 56,
      "watchers": 4,
      "fork_history": {
        "days": [
          {
            "date": "2015-12-24",
            "count": 1
          },
          {
            "date": "2019-10-22",
            "count": 1
          },
          {
            "date": "2021-01-01",
            "count": 1
          },
          {
            "date": "2022-04-08",
            "count": 1
          },
          {
            "date": "2023-09-21",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 5,
        "total_forks": 6
      },
      "star_history": null,
      "open_issues_and_prs": 0
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [],
      "toolchain_manifests": [],
      "largest_source_bytes": 811,
      "source_files_sampled": 4,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "package.json"
      ],
      "advisories": {
        "error": "No resolved dependencies carried a version and a supported ecosystem",
        "scope": "repository_graph",
        "source": null,
        "findings": [],
        "collected": false,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 0,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 3,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "npm"
      ],
      "dependencies": [],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "ava",
            "direct": false,
            "version": "^3.15.0",
            "ecosystem": "npm"
          },
          {
            "name": "tsd",
            "direct": false,
            "version": "^0.18.0",
            "ecosystem": "npm"
          },
          {
            "name": "xo",
            "direct": false,
            "version": "^0.45.0",
            "ecosystem": "npm"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 3,
        "direct_count": 0,
        "indirect_count": 3
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 0,
        "merged_prs": 5,
        "open_issues": 0,
        "closed_ratio": 1,
        "closed_issues": 3,
        "closed_unmerged_prs": 4
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "sindresorhus",
          "commits": 30,
          "avatar_url": "https://avatars.githubusercontent.com/u/170270?v=4"
        },
        {
          "type": "User",
          "login": "kevva",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/709159?v=4"
        },
        {
          "type": "User",
          "login": "blakeembrey",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/1088987?v=4"
        },
        {
          "type": "User",
          "login": "BendingBender",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/4807083?v=4"
        },
        {
          "type": "User",
          "login": "sonicdoe",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/652793?v=4"
        },
        {
          "type": "User",
          "login": "MaximDevoir",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/10104630?v=4"
        },
        {
          "type": "User",
          "login": "Richienb",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/29491356?v=4"
        },
        {
          "type": "User",
          "login": "ntwb",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/1016458?v=4"
        },
        {
          "type": "User",
          "login": "silverwind",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/115237?v=4"
        }
      ],
      "contributors_sampled": 9,
      "top_contributor_share": 0.769
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": false,
      "ci_workflows": [
        "main.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [],
      "has_editorconfig": true,
      "has_linter_config": false,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": 0,
            "reason": "branch protection not enabled on development/release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 0,
            "reason": "0 out of 5 merged PRs checked by a CI test -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 1,
            "reason": "Found 5/30 approved changesets -- score normalized to 1",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 15 contributing companies or organizations",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 0,
            "reason": "no update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 0,
            "reason": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 10,
            "reason": "security policy file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 0,
            "reason": "detected GitHub workflow tokens with excessive permissions",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "78057f25d73b201958ef7415ecde5d1ab662f2f2",
        "ran_at": "2026-07-22T22:31:30Z",
        "aggregate_score": 3.9,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": true,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": null,
      "oldest_open_prs": [],
      "last_merged_pr_at": "2023-09-22T18:57:08Z",
      "ci_last_conclusion": null,
      "oldest_open_issues": []
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/sindresorhus/detect-newline",
    "host": "github.com",
    "name": "detect-newline",
    "owner": "sindresorhus"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "at_risk",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 44,
      "inputs": {
        "security": 39,
        "vitality": 15,
        "community": 70,
        "governance": 61,
        "engineering": 34
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "critical",
        "name": "Vitality",
        "value": 15,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "critical",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 1,
            "inputs": {
              "commits_last_year": 0,
              "human_commit_share": 1,
              "days_since_last_push": 1033,
              "active_weeks_last_year": 0
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 1033 days ago",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 1033
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "0/52 weeks with commits",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "0 commits in the last year",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 0
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "at_risk",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 36,
            "inputs": {
              "releases_count": 4,
              "latest_release_tag": "v4.0.1",
              "releases_from_tags": false,
              "days_since_latest_release": 1033,
              "mean_days_between_releases": 541.9
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "4 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 1033 days ago",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 1033
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~541.9 days",
                "points": 5.4,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 541.9
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "excellent",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "dormant",
              "guards": [
                "no_open_demand"
              ],
              "signals": [
                "scorecard_unmaintained"
              ],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": null,
              "unanswered_open_prs": 0,
              "unanswered_open_issues": 0,
              "days_since_last_merged_pr": 1034,
              "days_since_last_human_commit": 1034,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "no human commit for 1034 days, with nothing left unanswered; held at dormant by nothing open to answer",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_quiet",
                    "params": {
                      "days": 1034
                    }
                  },
                  {
                    "code": "abandonment_guarded",
                    "params": {
                      "guards": "nothing open to answer"
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "good",
        "name": "Community & Adoption",
        "value": 70,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "at_risk",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 37,
            "inputs": {
              "forks": 6,
              "stars": 56,
              "watchers": 4,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "56 stars",
                "points": 28.2,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 56
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "6 forks",
                "points": 5.8,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 6
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "4 watchers",
                "points": 2.7,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "excellent",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 85,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "has_contributing": true,
              "has_issue_template": false,
              "has_code_of_conduct": true,
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (MIT)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "MIT"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 18,
                "status": "met",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 13.5,
                "status": "met",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "excellent",
            "name": "Ecosystem adoption (downloads)",
            "note": "Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "registry_dependents"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "packages": [
                "detect-newline"
              ],
              "dependents": null,
              "ecosystems": "npm",
              "total_downloads": null,
              "monthly_downloads": 179091161
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "179,091,161 downloads/month across npm",
                "points": 80,
                "status": "met",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 179091161,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "not reported by this ecosystem",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_reported_by_this_ecosystem",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "moderate",
        "name": "Sustainability & Governance",
        "value": 61,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 36,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 9,
              "top_contributor_share": 0.769
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "1 contributor(s) cover half of all commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 77% of commits",
                "points": 5.2,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 77
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "9 contributors",
                "points": 12.2,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 9
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 15 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 70,
            "inputs": {
              "merged_prs": 5,
              "open_issues": 0,
              "closed_issues": 3,
              "issue_closed_ratio": 1,
              "closed_unmerged_prs": 4
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "100% of issues closed",
                "points": 46.8,
                "status": "met",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "5/9 decided PRs merged",
                "points": 21.2,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 5,
                      "decided": 9
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 5/30 approved changesets -- score normalized to 1",
                "points": 1.5,
                "status": "partial",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 75,
            "inputs": {
              "followers": 80372,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "sindresorhus",
              "public_repos": 1140,
              "account_age_days": 6057
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "personal (user) account",
                "points": 10,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_personal",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": "not applicable to user accounts",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_applicable_to_user_accounts",
                    "params": {}
                  }
                ],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "80,372 followers of sindresorhus",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 80372,
                      "login": "sindresorhus"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "1140 public repos, account ~16 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 1140
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 16
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "moderate",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 69,
            "inputs": {
              "packages": [
                "detect-newline"
              ],
              "ecosystems": "npm",
              "any_deprecated": false,
              "min_days_since_publish": 1034
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on npm",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 1034 days ago",
                "points": 4,
                "status": "partial",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 1034
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "13 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 13
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "at_risk",
        "name": "Engineering Quality",
        "value": 34,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "at_risk",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 30,
            "inputs": {
              "has_ci": true,
              "has_tests": false,
              "has_editorconfig": true,
              "has_linter_config": false,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "1 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 6.4,
                "status": "met",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "0 out of 5 merged PRs checked by a CI test -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "at_risk",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "topics": [],
              "has_wiki": false,
              "homepage": null,
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "at_risk",
        "name": "Security",
        "value": 39,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 39,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 16,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 2,
              "scorecard_aggregate": 3.9
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "branch protection not enabled on development/release branches",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "0 out of 5 merged PRs checked by a CI test -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 5/30 approved changesets -- score normalized to 1",
                "points": 0.8,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 15 contributing companies or organizations",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "no update tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file detected",
                "points": 5,
                "status": "met",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "detected GitHub workflow tokens with excessive permissions",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "excellent",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 17
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "critical",
        "name": "AI Readiness",
        "value": 14,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 10,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.179,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "7 of 39 human commits state their intent (structured subject or explanatory body)",
                "points": 9.6,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 7,
                      "sampled": 39
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "critical",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 1,
            "inputs": {
              "has_nix": false,
              "has_tests": false,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": false,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": false,
              "typecheck_configs": [],
              "agent_commit_share": 0,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 39",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 39
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "moderate",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 55,
            "inputs": {
              "primary_language": "JavaScript",
              "largest_source_bytes": 811,
              "source_files_sampled": 4,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "JavaScript without a type-check config",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_typecheck_config_language",
                    "params": {
                      "language": "JavaScript"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/4 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 4,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token",
    "No resolved dependencies carried a version and a supported ecosystem"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-22T22:31:40.154541Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/s/sindresorhus/detect-newline.svg",
  "full_name": "sindresorhus/detect-newline",
  "license_state": "standard",
  "license_spdx": "MIT"
}

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 v1.13.0, schema v0.27.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsnpm.