Skip to content

esm-dev/oxide-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxide-wasm

A wasm build for tailwindcss-oxide.

Usage

import init, { extract } from "https://esm.sh/@esm.sh/oxide-wasm"; // load oxide-wasm_bg.wasm await init(); const code = ` <h1 class="text-3xl font-bold underline">  Hello world! </h1> `; console.log(extract(code)); // [ // "class", // "text-3xl", // "font-bold", // "underline" // ]

Development Setup

You will need rust 1.60+ and wasm-pack.

Build

wasm-pack build --target web --no-pack --release

About

A wasm build of the tailwindcss oxide for browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published