Skip to main content

Built and signed on GitHub Actions

🌊 Lightweight HTML templating library for any-side rendering

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
3 days ago (0.7.6)
type alias GlobSource

Glob source.

The presence of the directory option is used to distinguish this type from StringSource.

Definition

[
Arrayable<string>,
{ directory: string; render?: Arg<Server["render"], 1>; },
]

Add Package

deno add jsr:@mizu/render

Import symbol

import { type GlobSource } from "@mizu/render/server";

---- OR ----

Import directly with a jsr specifier

import { type GlobSource } from "jsr:@mizu/render/server";

Add Package

npx jsr add @mizu/render

Import symbol

import { type GlobSource } from "@mizu/render/server";

Add Package

yarn dlx jsr add @mizu/render

Import symbol

import { type GlobSource } from "@mizu/render/server";

Add Package

pnpm dlx jsr add @mizu/render

Import symbol

import { type GlobSource } from "@mizu/render/server";

Add Package

bunx jsr add @mizu/render

Import symbol

import { type GlobSource } from "@mizu/render/server";