{"adoption": {"forks": 102, "observed_at": "2026-08-28T04:05:48.631063+00:00", "stars": 1881}, "canonical_url": "https://ross.abutalabs.com/products/fitjs", "card": {"archived": false, "artifact_type": "library", "description": "Fit things into other things", "domain": ["web-development", "frontend"], "enriched": true, "function": ["ui-components", "graphics"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "WTFPL", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["soulwire/fit.js"], "name": "soulwire/fit.js", "platform": ["browser"], "pushed_at": "2017-10-25T08:15:52+00:00", "repo": "soulwire/fit.js", "stars": 1881, "tags": ["aspect-ratio", "dom-layout", "scaling", "cover-contain", "micro-library", "javascript"], "topics": [], "urls": [], "use_cases": ["fit a video or image inside a container while keeping aspect ratio", "scale text to fill its parent element", "implement cover/contain behavior like CSS object-fit with alignment control", "refit elements automatically on window resize", "fit arbitrary rectangle objects in canvas or game layouts"], "what_it_is": "Fit.js is a tiny JavaScript library that scales and aligns one rectangular object (DOM element or plain rect) to fit inside another while preserving aspect ratio. It supports cover/contain modes, alignment options, resize watching, and custom transform callbacks.", "when_to_avoid": ["you need modern CSS object-fit which covers most DOM cases", "you need responsive layout systems or grid frameworks", "the project needs actively maintained dependencies"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/fitjs", "repo": "soulwire/fit.js", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "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:48.631063+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.631063+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:13:59.217015+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3249ba772f30c32c2d0d7e3a2556bf44f73a3afa6c197d126ba092d6ec41e2c1", "fetched_at": "2026-08-28T04:05:48.631063+00:00", "kind": "readme", "missing": false, "url": "https://github.com/soulwire/fit.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4610, "days_push": 3234, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}