MCPcopy
hub / github.com/MicheleBertoli/css-in-js

github.com/MicheleBertoli/css-in-js @main sqlite

repository ↗ · DeepWiki ↗
165 symbols 378 edges 148 files 0 documented · 0%
README

Build Status

CSS in JS

React: CSS in JS techniques comparison.

Usage

Inside each package folder, run:

npm i
npm run build && open index.html

Features

How to read the table

More ticks doesn't mean "better", it depends on your needs. For example, if a package supports the css file extraction you can run the autoprefixing at build time.

Package Version Automatic Vendor Prefixing Pseudo Classes Media Queries Styles As Object Literals Extract CSS File Package Stats
aphrodite

tag 2.2.2 star 4,175

| 1.2.3 | ✓ | ✓ | ✓ | ✓ | ✓ |

info 63/133

download 358,386

| | babel-plugin-css-in-js

tag 1.5.1 star 259

| 1.2.2 | ✓ | ✓ | ✓ | ✓ | ✓ |

info 6/12

download 408

| | babel-plugin-pre-style

tag 1.5.1 star 259

| 1.0.9-alpha | | ✓ | ✓ | ✓ | ✓ |

info 6/12

download 408

| | bloody-react-styled

tag 0.0.5 star 35

| 3.0.0 | | ✓ | ✓ | | |

info 1/2

download 12

| | classy

tag 1.4.10 star 22

| 0.3.0 | | ✓ | ✓ | ✓ | |

info 0/0

download 88

| | csjs

tag 1.1.0 star 516

| 1.0.0 | | ✓ | ✓ | | |

info 22/25

download 1,827

| | css-constructor

tag 0.1.7 star 90

| 0.1.1 | ✓ | ✓ | ✓ | | |

info 4/2

download 65

| | css-light

tag 1.1.0 star 2

| 1.1.0 | | ✓ | ✓ | ✓ | ✓ |

info 1/0

download 54

| | css-loader

tag 0.28.11 star 2,770

| 0.15.6 | | ✓ | ✓ | | ✓ |

info 59/496

download 7,442,704

| | css-ns

tag 1.2.1 star 107

| 1.0.0 | | ✓ | ✓ | | ✓ |

info 1/1

download 313

| | cssobj

tag 1.3.6 star 221

| 0.2.21 | ✓ | ✓ | ✓ | ✓ | |

info 2/12

download 205

| | cssx

tag 5.2.1 star 998

| 3.8.0 | ✓ | ✓ | ✓ | | ✓ |

info 10/14

download 314

| | cxs

tag 6.2.0 star 896

| 6.2.0 | | ✓ | ✓ | ✓ | ✓ |

info 18/20

download 2,940

| | electron-css

tag 0.6.0 star 2

| 0.6.0 | | ✓ | ✓ | ✓ | |

info 0/0

download 135

| | emotion

tag 9.2.4 star 4,101

| 6.0.3 | ✓ | ✓ | ✓ | ✓ | ✓ |

info 73/306

download 260,249

| | es-css-modules

tag 1.2.4 star 151

| 1.2.3 | | ✓ | ✓ | | ✓ |

info 1/2

<img src="./ReadmeSrc/i

Core symbols most depended-on inside this repo

seoImageURL
called by 3
webpage/src/components/Seo.js
subWithIcon
called by 3
ReadmeSrc/Rows.js
render
called by 3
css-ns/button.js
defaultFallback
called by 2
webpage/src/components/Table.js
divWithIcon
called by 2
ReadmeSrc/Rows.js
intAsCommaSeparated
called by 2
ReadmeSrc/Rows.js
render
called by 2
style-it/button.js
generateCSSFile
called by 1
aphrodite/other/generate-css-file.js

Shape

Function 79
Class 56
Method 30

Languages

TypeScript100%

Modules by API surface

ReadmeSrc/Rows.js12 symbols
ReadmeSrc/scripts/fetchData.js10 symbols
webpage/src/components/Table.js6 symbols
react-cssom/button.js6 symbols
webpage/src/components/Seo.js5 symbols
cssobj/button.js5 symbols
reactcss/button.js4 symbols
webpage/src/App.js3 symbols
typestyle/button.js3 symbols
styled-jsx/button.js3 symbols
style-it/button.js3 symbols
scope-styles/button.js3 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@thi.ng/hiccup-css0.2.0 · 1×
aphrodite1.2.3 · 1×
autoprefixer6.5.0 · 1×
axios0.18.0 · 1×
babel5.4.7 · 1×
babel-cli6.9.0 · 1×
babel-core6.11.4 · 1×
babel-eslint7.0.0 · 1×
babel-loader6.2.1 · 1×
babel-plugin-css-in-js1.2.2 · 1×
babel-plugin-pre-style1.0.9-alpha · 1×
babel-plugin-transform-decorators-legacy1.3.4 · 1×

For agents

$ claude mcp add css-in-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact