Skip to content

imcotton/sri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate Subresource Integrity (SRI)

JSR

Web

CLI

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).

License

the MIT

About

generate Subresource Integrity (SRI)

Resources

License

Stars

Watchers

Forks