cij
css-in-js-generator
npm i css-in-js-generator
cij

css-in-js-generator

A tool to generate trendy CSS-in-JS files from regular CSS.

by Brice BERNARD

0.3.0 (see all)License:MITTypeScript:Not Found
npm i css-in-js-generator
Readme

CSS-in-JS-generator

CSS-in-JS-generator is a tool to generate trendy CSS-in-JS files from regular CSS.

Install

npm install css-in-js-generator

Usage

Here is a demo to convert Bootstrap to CSS-in-JS usable by emotion.

curl https://unpkg.com/bootstrap@4.0.0-beta/dist/css/bootstrap.css | \
    node ./node_modules/css-in-js-generator/index.js > \
    bootstrap.js

Demo

A demo using next.js, emotion and bootstrap is available here, source code of demo is here.

License

MIT

Downloads/wk

4

GitHub Stars

52

LAST COMMIT

5yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

6

OPEN PRs

1
VersionTagPublished
0.3.0
latest
5yrs ago
0.4.0
beta
5yrs ago
No alternatives found
No tutorials found
Add a tutorial