{"adoption": {"forks": 144, "observed_at": "2026-08-28T04:05:06.894892+00:00", "stars": 1580}, "canonical_url": "https://ross.abutalabs.com/products/jest-styled-components", "card": {"archived": false, "artifact_type": "library", "description": "🔧 💅 Jest utilities for Styled Components", "domain": ["testing", "frontend", "web-development", "developer-tools"], "enriched": true, "function": ["testing", "e2e-testing"], "health_score": 92, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["styled-components/jest-styled-components"], "name": "styled-components/jest-styled-components", "platform": ["bun", "cli"], "pushed_at": "2026-06-29T22:16:53+00:00", "repo": "styled-components/jest-styled-components", "stars": 1580, "tags": ["jest", "vitest", "styled-components", "snapshot-testing", "css-in-js", "react", "custom-matcher", "nodejs"], "topics": [], "urls": [], "use_cases": ["test styled-components CSS in jest snapshots", "assert a component has a specific style rule", "make styled-components snapshot diffs readable", "run styled-components tests with vitest or bun", "avoid meaningless class name changes in snapshot diffs", "test react native styled-components styles"], "what_it_is": "A testing utility library for styled-components that improves Jest, Vitest, and Bun snapshot testing by inlining readable CSS rules into snapshots and adding a toHaveStyleRule matcher. It replaces opaque hashed class names with deterministic placeholders so style diffs are meaningful.", "when_to_avoid": ["you don't use styled-components or another css-in-js library", "you use a test runner other than Jest, Vitest, or Bun", "you rely on legacy Enzyme-based testing workflows"], "when_to_choose": ["you use styled-components v5+ and Jest, Vitest, or Bun for testing", "your styled-components snapshots are full of hashed class names and unreadable diffs", "you need to assert specific CSS values on styled components"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/jest-styled-components", "repo": "styled-components/jest-styled-components", "role": "main", "score": 87}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "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:06.894892+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:06.894892+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:56:37.844693+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "10247030e9442ac38601f8ff353b472c6f41c05948e9795d5423ecd6115ee948", "fetched_at": "2026-08-28T04:05:06.894892+00:00", "kind": "readme", "missing": false, "url": "https://github.com/styled-components/jest-styled-components"}, {"content_hash": "05e294d071807831fb2f59e86be4d5ea9bf65dcd36f00db03fcb9e0e95ef162d", "fetched_at": "2026-08-29T11:27:06.023603+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/jest-styled-components"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 77}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3455, "days_push": 65, "days_rel": 159, "gap_med": 2.0, "n_releases_24m": 3}, "score": 87, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}