{"adoption": {"forks": 179, "observed_at": "2026-08-28T04:10:11.933852+00:00", "stars": 8027}, "canonical_url": "https://ross.abutalabs.com/products/twinmacro", "card": {"archived": false, "artifact_type": "library", "description": "🦹‍♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.", "domain": ["frontend", "web-development", "web-design"], "enriched": true, "function": ["css-framework", "build-tool", "ui-components"], "health_score": 69, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["ben-rogerson/twin.macro"], "name": "ben-rogerson/twin.macro", "platform": ["browser", "cross-platform"], "pushed_at": "2026-03-22T03:38:39+00:00", "repo": "ben-rogerson/twin.macro", "stars": 8027, "tags": ["tailwindcss", "css-in-js", "babel-macro", "styled-components", "emotion", "stitches", "goober", "react", "solidjs", "nodejs"], "topics": ["tailwind", "tailwindcss", "css-in-js", "babel-macro", "tailwind-css", "styling-css-in-js", "emotionjs", "emotion", "twin", "babel", "styled-components", "styling-react", "react", "reactjs", "tailwind-in-js", "stitches", "goober", "solidjs"], "urls": [], "use_cases": ["use tailwind classes with styled-components", "style react components with tailwind and emotion", "compile tailwind classes to css-in-js at build time", "conditionally apply tailwind styles in javascript", "avoid shipping tailwind runtime bundle", "mix sass styles with tailwind utilities"], "what_it_is": "Twin.macro is a Babel macro that compiles Tailwind CSS classes into CSS-in-JS objects at build time, supporting libraries like emotion, styled-components, stitches, and goober. It lets you style React and Solid components with Tailwind's `tw` prop and template literals without shipping a client-side Tailwind bundle.", "when_to_avoid": ["you use plain tailwind without css-in-js", "your bundler doesn't support babel macros", "you prefer zero-runtime alternatives like vanilla tailwind or linaria"], "when_to_choose": ["you use a css-in-js library and want tailwind's utility classes", "you need conditional or dynamic tailwind styling in components", "you want tailwind styles compiled at build time with no runtime css"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/twinmacro", "repo": "ben-rogerson/twin.macro", "role": "main", "score": 56}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "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:10:11.933852+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:11.933852+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:31:48.562842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3a091c7bf1cbed9325468679bc1cf9f6d071ae2c56faf8de77fc3b18f31a373f", "fetched_at": "2026-08-28T04:10:11.933852+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ben-rogerson/twin.macro"}, {"content_hash": "fc89baab3191694d29268d65d9d32e90e794915a9b5fdf1996e6f74e62ffd324", "fetched_at": "2026-08-29T08:29:34.494877+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/twin.macro"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 73, "longevity": 100, "rhythm": 8}, "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": 2387, "days_push": 164, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 56, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}