A CSS-in-JS transpiler engine for building zero-runtime stylesheets at build time. Current stable version is 2.2.8, released with refactored library-specific code removal. It powers the build pipeline of @plumeria/core. Key differentiators include atomic CSS generation, hash-based class names, and zero-runtime stylesheets. It supports transpilation of both atomic and nested CSS, processes pseudo-elements, and provides CSS properties type definitions. The library is actively maintained with a focus on compile-time CSS extraction.
npm install zss-engineNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows transpile, transpileAtomic, and genBase36Hash usage with atomic CSS generation and hashing.
Use CreateStyleType instead if needed, or migrate to alternative API.
Remove imports of Plumeria-specific types; they are no longer exported.
If you relied on server/client detection, implement your own logic.
Use import syntax or configure bundler for ESM interop.
Review generated atomic classes for pseudo-elements; they are now treated as atomic.
Use import syntax instead of require(), or set { type: 'module' } in package.json.Use CreateStyleType or the new API structure; check the type definitions.
Use named imports like import { transpile } from 'zss-engine'.No dependency data recorded yet.