generate Subresource Integrity (SRI)
- https://sri-shasum.js.org (GitHub Pages)
- https://sri-shasum.pages.dev (Cloudflare Pages)
onetime run
deno run jsr:@imcotton/sri
global install
deno install --global jsr:@imcotton/sri
SYNOPSIS
sri [OPTIONS] remote URL, local file path, or from stdin (-)
OPTIONS
--base64 (default)
--base58
--hex
-a, --algorithm SHA-n, one of: 1, 256 (default), 384, 512.
-c, --checksum the checksum to be verified.
-m, --max-time fetch maximum time in seconds (default 60).
-p, --prefix output the algorithm label (default false).
the MIT