Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
lowlighter/mizuWorks with
•JSR Score76%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Downloads2/wk
•Publisheda month ago (0.9.4)
🖋️ *text directive for mizu.js
*text="content"
| Version | Phase | Default |
|---|---|---|
41 — CONTENT |
this.innerHTML |
Set element's textContent.
<p *text="'...'"> <!--...--> </p>
Notes
Note
HTML content is automatically escaped.
Note
Without an attribute value, this directive escapes the element's innerHTML (e.g., <a *text><b></b></a> becomes <a *text><b></b></a>).
Built and signed on
GitHub Actions
Add Package
deno add jsr:@mizu/text
Import symbol
import * as text from "@mizu/text";
Import directly with a jsr specifier
import * as text from "jsr:@mizu/text";
Add Package
pnpm i jsr:@mizu/text
pnpm dlx jsr add @mizu/text
Import symbol
import * as text from "@mizu/text";
Add Package
yarn add jsr:@mizu/text
yarn dlx jsr add @mizu/text
Import symbol
import * as text from "@mizu/text";
Add Package
vlt install jsr:@mizu/text
Import symbol
import * as text from "@mizu/text";
Add Package
npx jsr add @mizu/text
Import symbol
import * as text from "@mizu/text";
Add Package
bunx jsr add @mizu/text
Import symbol
import * as text from "@mizu/text";