Skip to main content

@mark/html@1.0.0

HTML templating for JavaScript.

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
2 months ago
indexescape
function escape
deno add @mark/html
import { escape } from "@mark/html";
npx jsr add @mark/html
import { escape } from "@mark/html";
yarn dlx jsr add @mark/html
import { escape } from "@mark/html";
pnpm dlx jsr add @mark/html
import { escape } from "@mark/html";
bunx jsr add @mark/html
import { escape } from "@mark/html";

Escape a string for safe usage in HTML.

Parameters

Return Type