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%•
Downloads1/wk
•
Publisheda year ago (0.5.0)

🌊 Lightweight HTML templating library for any-side rendering

client

Mizu client-side renderer.

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.

c
T
T
ClientRenderOptions

Client.render options.

v
default

Default Mizu Client instance.

I
Directive

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

T
InferAttrAny

Infer value from AttrAny type definition.

T
InferAttrTypings

Infer value from AttrTypings type definition.

T
InitialContextState

Renderer.render() initial Context and State.

c
T
Modifiers

Extracts the typings values from a Directive.

E
Phase

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

T
RendererEvaluateOptions

Renderer.evaluate() options.

T
RendererOptions

Renderer options.

T
RendererParseAttributeOptions

Renderer.parseAttribute() options.

T
State

Current Renderer.render() state.

T
VirtualWindow

Additional typings for Window when using a virtual DOM implementation.

engine

Mizu engine.

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.

I
Directive

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

T
InferAttrAny

Infer value from AttrAny type definition.

T
InferAttrTypings

Infer value from AttrTypings type definition.

T
InitialContextState

Renderer.render() initial Context and State.

T
Modifiers

Extracts the typings values from a Directive.

E
Phase

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

T
RendererEvaluateOptions

Renderer.evaluate() options.

T
RendererOptions

Renderer options.

T
RendererParseAttributeOptions

Renderer.parseAttribute() options.

T
State

Current Renderer.render() state.

T
VirtualWindow

Additional typings for Window when using a virtual DOM implementation.

engine/testing

Testing utilities.

f
filter

Recursively filters an Element and its subtree and returns the Element.innerHTML.

f
format

Format HTML.

f
test

Test a HTML file with the specified test cases.

engine/vdom

Virtual Window implementations.

T
VirtualWindow

Additional typings for Window when using a virtual DOM implementation.

v
Window

Virtual Window implementation based on JSDOM.

server

Mizu server-side renderer.

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.

v
default

Default Mizu Server instance.

I
Directive

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

T
InferAttrAny

Infer value from AttrAny type definition.

T
InferAttrTypings

Infer value from AttrTypings type definition.

T
InitialContextState

Renderer.render() initial Context and State.

c
Mizu

Server side renderer.

T
Modifiers

Extracts the typings values from a Directive.

E
Phase

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

T
RendererEvaluateOptions

Renderer.evaluate() options.

T
RendererOptions

Renderer options.

T
RendererParseAttributeOptions

Renderer.parseAttribute() options.

c
Server

Server side renderer.

T
ServerOptions

Server options.

T
ServerRenderOptions

Server.render options.

T
State

Current Renderer.render() state.

T
VirtualWindow

Additional typings for Window when using a virtual DOM implementation.

static

Mizu static-site renderer.

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.

v
default

Default Mizu Static instance.

I
Directive

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

T
InferAttrAny

Infer value from AttrAny type definition.

T
InferAttrTypings

Infer value from AttrTypings type definition.

T
InitialContextState

Renderer.render() initial Context and State.

c
Mizu

Static site renderer.

T
Modifiers

Extracts the typings values from a Directive.

E
Phase

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

T
RendererEvaluateOptions

Renderer.evaluate() options.

T
RendererOptions

Renderer options.

T
RendererParseAttributeOptions

Renderer.parseAttribute() options.

T
State

Current Renderer.render() state.

c
Static

Static site renderer.

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.