ai-css-to-tailwind
v1.0.1
Published
AI-powered CSS to Tailwind converter - migrate stylesheets to utility classes with GPT
Maintainers
Readme
ai-css-to-tailwind
Convert any CSS file to Tailwind utility classes. Get a clean mapping of your existing styles to Tailwind equivalents.
Install
npm install -g ai-css-to-tailwindUsage
npx ai-css-to-tailwind ./styles.css
# Prints Tailwind class mappings
npx ai-css-to-tailwind ./styles.css -o tailwind-mapping.md
# Saves mapping to a fileSetup
export OPENAI_API_KEY=sk-...Options
-o, --output <path>- Save output to a file
License
MIT
