Installation
Self-host highwire.js and load its UMD or ES module build with Subresource Integrity.
highwire.js is currently distributed as a versioned file together with its SHA-384 integrity hash. Host the file on your own origin, then load the build that matches your integration.
The UMD build registers a global HighWire factory on window.
<script
src="/vendor/highwire/highwire-v0.1.0.js"
integrity="sha384-HASH_PROVIDED_BY_HIGHWIRE"
crossorigin="anonymous"
></script>The ES build ships with a matching .d.ts, so imports are fully typed.
import { HighWire } from './vendor/highwire/highwire-v0.1.0.es.js';Because the file is served from your own origin with an integrity hash, a
script-src 'self' content security policy is sufficient — there is no
third-party host to allow-list.