{"adoption": {"forks": 102, "observed_at": "2026-08-28T04:05:25.460340+00:00", "stars": 1708}, "canonical_url": "https://ross.abutalabs.com/products/filesizejs", "card": {"archived": false, "artifact_type": "library", "description": "A lightweight, high-performance file size utility that converts bytes to human-readable strings. Zero dependencies. 100% test coverage.", "domain": ["developer-tools", "files", "web-development"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 80, "homepage": "https://filesizejs.com", "language": "JavaScript", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["avoidwork/filesize.js"], "name": "avoidwork/filesize.js", "platform": ["browser", "cross-platform"], "pushed_at": "2026-08-24T05:20:17+00:00", "repo": "avoidwork/filesize.js", "stars": 1708, "tags": ["filesize", "bytes", "human-readable", "zero-dependency", "typescript", "bigint", "formatting", "nodejs"], "topics": ["filesize", "file", "filesystem", "size", "size-calculation", "jedec", "iec", "bits", "bytes", "simple"], "urls": [], "use_cases": ["format file sizes in bytes as human-readable strings", "display 1024 as 1 KiB using IEC standard", "convert bytes to kilobits for bandwidth display", "create reusable file size formatters with partial application", "format file sizes with locale-aware number formatting", "handle extremely large file sizes with BigInt", "get file size as structured object instead of string"], "what_it_is": "filesize.js is a lightweight, zero-dependency JavaScript library that converts byte counts into human-readable strings. It supports SI, IEC, and JEDEC unit standards, bits, BigInt, localization via the Intl API, and works in both browsers and Node.js.", "when_to_avoid": ["you need actual file system operations like reading or measuring files on disk", "your project is not JavaScript/TypeScript based", "you need formatting of units other than data sizes (e.g., durations, weights)"], "when_to_choose": ["you need reliable, dependency-free byte-to-human-readable conversion in JavaScript or TypeScript", "you need support for multiple unit standards (SI, IEC, JEDEC) or bits", "you need a tiny utility that works in browser, Node.js, and with BigInt values"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/filesizejs", "repo": "avoidwork/filesize.js", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "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:05:25.460340+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:25.460340+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:37:00.317587+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0403561341f9edc200829b9d33ab2920ed462e2db15bd9aac8a188dc8a721c1b", "fetched_at": "2026-08-28T04:05:25.460340+00:00", "kind": "readme", "missing": false, "url": "https://github.com/avoidwork/filesize.js"}, {"content_hash": "9d6f88f33955b49cc5c014af8093ae54213511428440f81f399ec95f1f2ee101", "fetched_at": "2026-08-29T11:11:39.067547+00:00", "kind": "homepage", "missing": false, "url": "https://filesizejs.com"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5297, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}