{"adoption": {"forks": 69, "observed_at": "2026-08-28T04:04:01.138612+00:00", "stars": 1215}, "canonical_url": "https://ross.abutalabs.com/products/pretty-ms", "card": {"archived": false, "artifact_type": "library", "description": "Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["serialization", "date-time", "developer-tools"], "health_score": 90, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["sindresorhus/pretty-ms"], "name": "sindresorhus/pretty-ms", "platform": ["cross-platform"], "pushed_at": "2026-07-06T15:49:50+00:00", "repo": "sindresorhus/pretty-ms", "stars": 1215, "tags": ["npm-package", "humanize", "duration-formatting", "milliseconds", "time-formatting", "command-line", "nodejs", "javascript"], "topics": ["milliseconds", "humanize", "npm-package"], "urls": [], "use_cases": ["format milliseconds as human readable duration", "display elapsed time in logs or CLI output", "show time durations in a UI", "convert ms to compact time string", "format durations in colon notation like a stopwatch", "humanize hrtime benchmark results"], "what_it_is": "A small JavaScript library that converts milliseconds into human-readable duration strings like '15d 11h 23m 20s'. It supports options for compact, verbose, and colon notation output, and works with numbers and BigInt.", "when_to_avoid": ["you need to parse duration strings into milliseconds (use parse-duration-ms instead)", "you need timezone-aware or calendar date formatting", "you work outside the JavaScript ecosystem"], "when_to_choose": ["you need to display durations in a readable format in JavaScript or Node.js", "you want a tiny, dependency-free utility with flexible formatting options", "you need BigInt or sub-millisecond precision support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pretty-ms", "repo": "sindresorhus/pretty-ms", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:01.138612+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:17:18.007519+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3967b119bb4480314e08be46abb08173df69eb737d07c933e5da99ffd40654a8", "fetched_at": "2026-08-28T04:04:01.138612+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/pretty-ms"}, {"content_hash": "d3e02c39dc1b383a508d085b3e9afa8037029944515db50f71ade49441c135fa", "fetched_at": "2026-08-29T12:25:21.405974+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pretty-ms"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 15}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4549, "days_push": 58, "days_rel": 352, "gap_med": 304, "n_releases_24m": 2}, "score": 66, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}