Skip to main content

Built and signed on GitHub Actions

🦮 Internal components for mizu.js

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 Score
100%
Published
a month ago (0.8.1)

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
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.

Add Package

deno add jsr:@mizu/internal

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @mizu/internal

Import symbol

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

Add Package

yarn dlx jsr add @mizu/internal

Import symbol

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

Add Package

pnpm dlx jsr add @mizu/internal

Import symbol

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

Add Package

bunx jsr add @mizu/internal

Import symbol

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