Module

x/lume/plugins/sri.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface Options
import { type Options } from "https://dotland.deno.dev/x/lume@v2.3.2/plugins/sri.ts";

Properties

optional
algorithm: "sha256" | "sha384" | "sha512"

The algorithm used to calculate the cryptographic hash of the file

optional
crossorigin: "anonymous" | "use-credentials"

The CORS setting for the file being loaded

optional
selector: string

The selector to find the elements to add the integrity attribute