Public record
Software health reportschema 0.31.0 · metrics 2.10.0 · 2026-08-04 20:44 UTC

hughsk / flat

:steam_locomotive: Flatten/unflatten nested Javascript objects

JavaScriptBSD-3-Clause★ 1,815 stars⑂ 198 forkssince Oct 2012View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

hughsk/flat holds a health index of 32 out of 100, placing it in the At Risk band. It scores highest on Community & Adoption (74/100) and lowest on Vitality (34/100). It was last updated 138 days ago. 2 contributors account for most of its recent work.

32
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, 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.

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

Ownership

Hugh KennedyPersonal account
1,553 followers490 public repossince Jan 2011

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
npmflat6.0.1122,345,743281050 days agoflatjsonflattenunflattensplitobjectnested

Metrics by category

Vitality

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

34At Risk · 21% of overall
How it's scored
9.9/36Push recencylast push 138 days ago
1.4/36Commit cadence2/52 weeks with commits
4.3/18Commit volume2 commits in the last year
0/10OpenSSF Scorecard: Maintained0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year2
human_commit_share0.87
days_since_last_push138
active_weeks_last_year2
How it's scored
27/27Ships releases2 releases published
0/36Release recencylatest release 1,050 days ago
27/27Release cadencea release every ~4.2 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count2
latest_release_tagv6.0.1
releases_from_tagsno
days_since_latest_release1,050
mean_days_between_releases4.2
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?

74Good · 17% of overall
How it's scored
52.9/60Stars1,815 stars
19.1/25Forks198 forks
6.2/15Watchers14 watchers
Inputs used
forks198
stars1,815
watchers14
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (BSD-3-Clause)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges1
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_servicesgithub.com
has_pull_request_templateno
How it's scored
80/80Monthly downloads122,345,743 downloads/month across npm
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagesflat
dependents
ecosystemsnpm
total_downloads
monthly_downloads122,345,743
unverified_packages_excluded
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
25.2/54Bus factor2 contributor(s) cover half of all commits
13.5/22.5Commit distributiontop contributor authored 40% of commits
13.5/13.5Contributor breadth25 contributors
10/10OpenSSF Scorecard: Contributorsproject has 26 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled25
top_contributor_share0.4
How it's scored
24.1/42Issue resolution57% of issues closed
17.8/30PR acceptance51/86 decided PRs merged
0/13Newcomer PR acceptance0/1 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-ReviewFound 1/19 approved changesets -- score normalized to 0
Inputs used
merged_prs51
open_issues34
closed_issues46
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d1
issue_closed_ratio0.575
closed_unmerged_prs35
first_time_authors_30d1
first_time_prs_merged_30d0
first_time_prs_decided_30d1
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
22.9/25Owner reach1,553 followers of hughsk
25/25Track record490 public repos, account ~15 yr old
Inputs used
followers1,553
owner_typeUser
is_verified
owner_loginhughsk
public_repos490
account_age_days5,677
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable1 package(s) on npm
4/35Publish recencylatest publish 1,050 days ago
20/20Version history28 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesflat
ecosystemsnpm
any_deprecatedno
min_days_since_publish1,050

Engineering Quality

Are baseline engineering and documentation practices in place?

49Weak · 19% of overall
How it's scored
24/24CI workflows1 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests2 out of 28 merged PRs checked by a CI test -- score normalized to 0
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

50Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
0/10Topics
10/10Wiki
Inputs used
topics
has_wikiyes
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

47Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Tests2 out of 28 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 1/19 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 26 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
0/7.5Maintained0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
0/5Packagingno data
1.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities11 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate3.4
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories11
affected_packages5
assessed_packages246
unassessed_packages0
affected_by_severitycritical 1, high 3, moderate 1
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 246 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

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

37Weak · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
19.6/40Legible commit history32 of 87 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.368
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance13 of the last 100 commits are automated dependency updates
3/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
Inputs used
has_nixno
has_testsyes
lockfilespackage-lock.json
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.13
How it's scored
0/45Type-checkable codeJavaScript without a type-check config
55/55Manageable file sizes0/4 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes15,233
source_files_sampled4
oversized_source_files0

Key facts

1,815GitHub stars
25contributors
2commits, last 12 months
138days since last push
2releases
2bus factor
34open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 198 ⇿
0Stars
198Forks
2Releases

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.

0408012016020018432013-042019-112026-06
Major 1Minor 0Patch 1

Each point covers 13 days.

OpenSSF Scorecard 3.4 / 10
3.4aggregate

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-08-04 20:44 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests2 out of 28 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 1/19 approved changesets -- score normalized to 0
10Contributorsproject has 26 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
3Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities11 existing vulnerabilities detected
All dependencies 246

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

RegistryPackageVersionRelation
npm@aashutoshrathi/word-wrap1.2.6indirect
npm@eslint-community/eslint-utils4.4.0indirect
npm@eslint-community/regexpp4.8.1indirect
npm@eslint/eslintrc2.1.2indirect
npm@eslint/js8.49.0indirect
npm@humanwhocodes/config-array0.11.11indirect
npm@humanwhocodes/module-importer1.0.1indirect
npm@humanwhocodes/object-schema1.2.1indirect
npm@nodelib/fs.scandir2.1.5indirect
npm@nodelib/fs.stat2.0.5indirect
npm@nodelib/fs.walk1.2.8indirect
npm@types/json50.0.29indirect
npmacorn8.10.0indirect
npmacorn-jsx5.3.2indirect
npmajv6.12.6indirect
npmansi-regex5.0.1indirect
npmansi-styles4.3.0indirect
npmargparse2.0.1indirect
npmarray-buffer-byte-length1.0.1indirect
npmarray-includes3.1.8indirect
npmarray.prototype.findlast1.2.5indirect
npmarray.prototype.findlastindex1.2.3indirect
npmarray.prototype.flat1.3.2indirect
npmarray.prototype.flatmap1.3.2indirect
npmarray.prototype.tosorted1.1.4indirect
npmarraybuffer.prototype.slice1.0.3indirect
npmavailable-typed-arrays1.0.7indirect
npmbalanced-match1.0.2indirect
npmbrace-expansion1.1.11indirect
npmbuiltins5.0.1indirect
npmcall-bind1.0.7indirect
npmcallsites3.1.0indirect
npmchalk4.1.2indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmconcat-map0.0.1indirect
npmcross-spawn7.0.3indirect
npmdata-view-buffer1.0.1indirect
npmdata-view-byte-length1.0.1indirect
npmdata-view-byte-offset1.0.0indirect
npmdebug3.2.7indirect
npmdebug4.3.4indirect
npmdeep-is0.1.4indirect
npmdefine-data-property1.1.4indirect
npmdefine-properties1.2.1indirect
npmdoctrine2.1.0indirect
npmdoctrine3.0.0indirect
npmerror-ex1.3.2indirect
npmes-abstract1.23.3indirect
npmes-define-property1.0.0indirect
npmes-errors1.3.0indirect
npmes-iterator-helpers1.0.19indirect
npmes-object-atoms1.0.0indirect
npmes-set-tostringtag2.0.3indirect
npmes-shim-unscopables1.0.2indirect
npmes-to-primitive1.2.1indirect
npmescape-string-regexp4.0.0indirect
npmeslint8.49.0indirect
npmeslint-config-standard17.1.0indirect
npmeslint-config-standard-jsx11.0.0indirect
npmeslint-import-resolver-node0.3.9indirect
npmeslint-module-utils2.8.0indirect
npmeslint-plugin-es4.1.0indirect
npmeslint-plugin-import2.28.1indirect
npmeslint-plugin-n15.7.0indirect
npmeslint-plugin-promise6.1.1indirect
npmeslint-plugin-react7.36.1indirect
npmeslint-scope7.2.2indirect
npmeslint-utils2.1.0indirect
npmeslint-utils3.0.0indirect
npmeslint-visitor-keys1.3.0indirect
npmeslint-visitor-keys2.1.0indirect
npmeslint-visitor-keys3.4.3indirect
npmespree9.6.1indirect
npmesquery1.5.0indirect
npmesrecurse4.3.0indirect
npmestraverse5.3.0indirect
npmesutils2.0.3indirect
npmfast-deep-equal3.1.3indirect
npmfast-json-stable-stringify2.1.0indirect
npmfast-levenshtein2.0.6indirect
npmfastq1.15.0indirect
npmfile-entry-cache6.0.1indirect
npmfind-up3.0.0indirect
npmfind-up5.0.0indirect
npmflat-cache3.1.0indirect
npmflatted3.2.7indirect
npmfor-each0.3.3indirect
npmfs.realpath1.0.0indirect
npmfunction-bind1.1.2indirect
npmfunction.prototype.name1.1.6indirect
npmfunctions-have-names1.2.3indirect
npmget-intrinsic1.2.4indirect
npmget-stdin8.0.0indirect
npmget-symbol-description1.0.2indirect
npmglob7.2.3indirect
npmglob-parent6.0.2indirect
npmglobals13.21.0indirect
npmglobalthis1.0.3indirect
npmgopd1.0.1indirect
npmgraceful-fs4.2.11indirect
npmgraphemer1.4.0indirect
npmhas1.0.3indirect
npmhas-bigints1.0.2indirect
npmhas-flag4.0.0indirect
npmhas-property-descriptors1.0.2indirect
npmhas-proto1.0.3indirect
npmhas-symbols1.0.3indirect
npmhas-tostringtag1.0.2indirect
npmhasown2.0.2indirect
npmignore5.2.4indirect
npmimport-fresh3.3.0indirect
npmimurmurhash0.1.4indirect
npminflight1.0.6indirect
npminherits2.0.4indirect
npminternal-slot1.0.7indirect
npmis-array-buffer3.0.4indirect
npmis-arrayish0.2.1indirect
npmis-async-function2.0.0indirect
npmis-bigint1.0.4indirect
npmis-boolean-object1.1.2indirect
npmis-callable1.2.7indirect
npmis-core-module2.13.0indirect
npmis-data-view1.0.1indirect
npmis-date-object1.0.5indirect
npmis-extglob2.1.1indirect
npmis-finalizationregistry1.0.2indirect
npmis-generator-function1.0.10indirect
npmis-glob4.0.3indirect
npmis-map2.0.3indirect
npmis-negative-zero2.0.3indirect
npmis-number-object1.0.7indirect
npmis-path-inside3.0.3indirect
npmis-regex1.1.4indirect
npmis-set2.0.3indirect
npmis-shared-array-buffer1.0.3indirect
npmis-string1.0.7indirect
npmis-symbol1.0.4indirect
npmis-typed-array1.1.13indirect
npmis-weakmap2.0.2indirect
npmis-weakref1.0.2indirect
npmis-weakset2.0.3indirect
npmisarray2.0.5indirect
npmisexe2.0.0indirect
npmiterator.prototype1.1.2indirect
npmjs-tokens4.0.0indirect
npmjs-yaml4.1.1indirect
npmjson-buffer3.0.1indirect
npmjson-parse-better-errors1.0.2indirect
npmjson-schema-traverse0.4.1indirect
npmjson-stable-stringify-without-jsonify1.0.1indirect
npmjson51.0.2indirect
npmjsx-ast-utils3.3.5indirect
npmkeyv4.5.3indirect
npmlevn0.4.1indirect
npmload-json-file5.3.0indirect
npmlocate-path3.0.0indirect
npmlocate-path6.0.0indirect
npmlodash.merge4.6.2indirect
npmloose-envify1.4.0indirect
npmlru-cache6.0.0indirect
npmminimatch3.1.5indirect
npmminimist1.2.8indirect
npmms2.1.2indirect
npmnatural-compare1.4.0indirect
npmobject-assign4.1.1indirect
npmobject-inspect1.13.2indirect
npmobject-keys1.1.1indirect
npmobject.assign4.1.5indirect
npmobject.entries1.1.8indirect
npmobject.fromentries2.0.8indirect
npmobject.groupby1.0.1indirect
npmobject.values1.2.0indirect
npmonce1.4.0indirect
npmoptionator0.9.3indirect
npmp-limit2.3.0indirect
npmp-limit3.1.0indirect
npmp-locate3.0.0indirect
npmp-locate5.0.0indirect
npmp-try2.2.0indirect
npmparent-module1.0.1indirect
npmparse-json4.0.0indirect
npmpath-exists3.0.0indirect
npmpath-exists4.0.0indirect
npmpath-is-absolute1.0.1indirect
npmpath-key3.1.1indirect
npmpath-parse1.0.7indirect
npmpify4.0.1indirect
npmpkg-conf3.1.0indirect
npmpossible-typed-array-names1.0.0indirect
npmprelude-ls1.2.1indirect
npmprop-types15.8.1indirect
npmpunycode2.3.0indirect
npmqueue-microtask1.2.3indirect
npmreact-is16.13.1indirect
npmreflect.getprototypeof1.0.6indirect
npmregexp.prototype.flags1.5.2indirect
npmregexpp3.2.0indirect
npmresolve1.22.5indirect
npmresolve2.0.0-next.5indirect
npmresolve-from4.0.0indirect
npmreusify1.0.4indirect
npmrimraf3.0.2indirect
npmrun-parallel1.2.0indirect
npmsafe-array-concat1.1.2indirect
npmsafe-regex-test1.0.3indirect
npmsemver6.3.1indirect
npmsemver7.5.4indirect
npmset-function-length1.2.2indirect
npmset-function-name2.0.2indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmside-channel1.0.6indirect
npmstandard17.1.2indirect
npmstandard-engine15.1.0indirect
npmstring.prototype.matchall4.0.11indirect
npmstring.prototype.repeat1.0.0indirect
npmstring.prototype.trim1.2.9indirect
npmstring.prototype.trimend1.0.8indirect
npmstring.prototype.trimstart1.0.8indirect
npmstrip-ansi6.0.1indirect
npmstrip-bom3.0.0indirect
npmstrip-json-comments3.1.1indirect
npmsupports-color7.2.0indirect
npmsupports-preserve-symlinks-flag1.0.0indirect
npmtext-table0.2.0indirect
npmtsconfig-paths3.14.2indirect
npmtype-check0.4.0indirect
npmtype-fest0.20.2indirect
npmtype-fest0.3.1indirect
npmtyped-array-buffer1.0.2indirect
npmtyped-array-byte-length1.0.1indirect
npmtyped-array-byte-offset1.0.2indirect
npmtyped-array-length1.0.6indirect
npmunbox-primitive1.0.2indirect
npmuri-js4.4.1indirect
npmversion-guard1.1.1indirect
npmwhich2.0.2indirect
npmwhich-boxed-primitive1.0.2indirect
npmwhich-builtin-type1.1.4indirect
npmwhich-collection1.0.2indirect
npmwhich-typed-array1.1.15indirect
npmwrappy1.0.2indirect
npmxdg-basedir4.0.0indirect
npmyallist4.0.0indirect
npmyocto-queue0.1.0indirect
Dependency advisories 5

This repository publishes no package the index resolves, so its own dependency graph was assessed — 246 packages, which also include development and test pins that never ship: 5 carry known advisories, of which 0 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
flatted3.2.7indirectcritical23.4.2
brace-expansion1.1.11indirecthigh55.0.9
cross-spawn7.0.3indirecthigh17.0.5
js-yaml4.1.1indirecthigh24.3.0
ajv6.12.6indirectmoderate18.18.0

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

Raw JSON report machine-readable

Feedback

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

The message is kept through sign-in.

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

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

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