@style-this/core
v0.1.4
Published
CSS-in-JS library for the modern web - core module
Readme
style-this - Core
Core functionality for the style-this library with WebAssembly bindings.
Installation
pnpm add @style-this/coreUsage
import { init, css, initialize } from "@style-this/core";
// Initialize the WebAssembly module
await init();
// Use the CSS functionality
const styles = css`
color: red;
font-size: 16px;
`;Development
# Build the native WebAssembly module
pnpm build:native
# Build the JavaScript package
pnpm build:js
# Build everything
pnpm build
# Watch mode for development
pnpm dev