Skip to content

Write HTML. Render video. Built for agents.

761 B
Raw Blame
/**
 * Browser-safe entry for @hyperframes/lint.
 *
 * Exposes the composition rule engine — HTML-string in, findings out — with
 * **zero Node.js dependencies**: no `node:fs`, no filesystem, no server. This
 * lets browser-only editors and tools validate compositions entirely
 * client-side, before any network call.
 *
 * The Node-only project layer (`lintProject`, which walks a directory) is NOT
 * exported here — import it from the main `@hyperframes/lint` entry in Node.
 */
export type {
  HyperframeLintSeverity,
  HyperframeLintFinding,
  HyperframeLintResult,
  HyperframeLinterOptions,
} from "./types.js";
export { lintHyperframeHtml, lintMediaUrls } from "./hyperframeLinter.js";
export { shouldBlockRender } from "./shouldBlockRender.js";