{"id":29007699,"url":"https://github.com/esm-dev/oxide-wasm","last_synced_at":"2025-06-25T13:30:43.380Z","repository":{"id":300325564,"uuid":"1005552684","full_name":"esm-dev/oxide-wasm","owner":"esm-dev","description":"A wasm build of the tailwindcss oxide for browsers.","archived":false,"fork":false,"pushed_at":"2025-06-21T03:02:55.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T04:19:09.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esm-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-20T12:08:53.000Z","updated_at":"2025-06-21T03:02:58.000Z","dependencies_parsed_at":"2025-06-21T04:19:14.211Z","dependency_job_id":"3e8e7c19-227c-478c-a664-bc73e88ac74e","html_url":"https://github.com/esm-dev/oxide-wasm","commit_stats":null,"previous_names":["esm-dev/oxide-wasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/esm-dev/oxide-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm-dev%2Foxide-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm-dev%2Foxide-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm-dev%2Foxide-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm-dev%2Foxide-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esm-dev","download_url":"https://codeload.github.com/esm-dev/oxide-wasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esm-dev%2Foxide-wasm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261330236,"owners_count":23142495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-25T13:30:36.513Z","updated_at":"2025-06-25T13:30:43.343Z","avatar_url":"https://github.com/esm-dev.png","language":"JavaScript","readme":"# oxide-wasm\n\nA wasm build for [tailwindcss-oxide](https://github.com/tailwindlabs/tailwindcss/tree/main/crates/oxide).\n\n## Usage\n\n```js\nimport init, { extract } from \"https://esm.sh/@esm.sh/oxide-wasm\";\n\n// load oxide-wasm_bg.wasm\nawait init();\n\nconst code = `\n\u003ch1 class=\"text-3xl font-bold underline\"\u003e\n  Hello world!\n\u003c/h1\u003e\n`;\nconsole.log(extract(code));\n// [\n//   \"class\",\n//   \"text-3xl\",\n//   \"font-bold\",\n//   \"underline\"\n// ]\n```\n\n## Development Setup\n\nYou will need [rust](https://www.rust-lang.org/tools/install) 1.60+ and\n[wasm-pack](https://rustwasm.github.io/wasm-pack/installer/).\n\n## Build\n\n```bash\nwasm-pack build --target web --no-pack --release\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesm-dev%2Foxide-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesm-dev%2Foxide-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesm-dev%2Foxide-wasm/lists"}