@persevie/grimoire-css-js
v2.0.0
Published
**Grimoire CSS JS** is a high-performance Node.js wrapper for [Grimoire CSS](https://github.com/persevie/grimoire-css), a Rust-powered CSS engine. It brings Grimoire’s advanced styling, optimization, and dynamic composition features to the JavaScript ecos
Maintainers
Readme
grimoire-css-js
Grimoire CSS JS is a high-performance Node.js wrapper for Grimoire CSS, a Rust-powered CSS engine. It brings Grimoire’s advanced styling, optimization, and dynamic composition features to the JavaScript ecosystem - usable via CLI, API, or build tool plugins.
Installation
npm i @persevie/grimoire-css-jsUsage
CLI
grimoire-css-js init # Create config
grimoire-css-js build # Build CSS from sources
grimoire-css-js shorten # Convert long spell components to shorthandsNode.js API
const { start } = require('@persevie/grimoire-css-js')
start('build') // or 'init', etc.Configuration
All features are controlled via a single grimoire.config.json file. Define spells, scrolls, variables, projects, shared/critical CSS, and more. See Grimoire CSS docs for details.
Build Tool Plugins
Migration
Convert existing CSS to Grimoire format using the Transmutator (CLI or Web UI).
Resources
Grimoire CSS JS brings the full power of Grimoire’s engine to JavaScript projects - no compromises, no boilerplate, just pure CSS magic.
