Skip to main content
Home
This release is 22 versions behind 0.9.4 — the latest version of @mizu/render. Jump to latest
Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
•JSR Score100%•
Downloads2/wk
•
Publisheda year ago (0.5.0)

🌊 Lightweight HTML templating library for any-side rendering

Mizu engine.

Classes

Enums

E
Phase

Enum representing all possible value that a Directive.phase can have.

Interfaces

I
Directive

A directive implements a custom behaviour for a matching HTML attribute.

Type Aliases

T
AttrAny

Generic type definition.

T
AttrBoolean

Boolean type definition.

T
AttrDuration

Duration type definition.

T
T
AttrString

String type definition.

T
AttrTypings

Type definition for Attr compatible with Renderer.parseAttribute().

T
Cache

Extracts the cache type from a Directive.

T
InferAttrAny

Infer value from AttrAny type definition.

T
T
InitialContextState

Renderer.render() initial Context and State.

T
Modifiers

Extracts the typings values from a Directive.

T
RendererEvaluateOptions

Renderer.evaluate() options.

T
RendererParseAttributeOptions

Renderer.parseAttribute() options.

T
State

Current Renderer.render() state.

T
VirtualWindow

Additional typings for Window when using a virtual DOM implementation.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mizu/render

Import symbol

import * as mod from "@mizu/render/engine";
or

Import directly with a jsr specifier

import * as mod from "jsr:@mizu/render/engine";

Add Package

pnpm i jsr:@mizu/render
or (using pnpm 10.8 or older)
pnpm dlx jsr add @mizu/render

Import symbol

import * as mod from "@mizu/render/engine";

Add Package

yarn add jsr:@mizu/render
or (using Yarn 4.8 or older)
yarn dlx jsr add @mizu/render

Import symbol

import * as mod from "@mizu/render/engine";

Add Package

vlt install jsr:@mizu/render

Import symbol

import * as mod from "@mizu/render/engine";

Add Package

npx jsr add @mizu/render

Import symbol

import * as mod from "@mizu/render/engine";

Add Package

bunx jsr add @mizu/render

Import symbol

import * as mod from "@mizu/render/engine";