One HTML file. Open it.
or view the HTML as it's intended: https://esm.sh/gh/kjanat/micro509/examples/browser/index.html
No package.json, no npm, no bundler.
index.html imports micro509 from a CDN and issues a self-signed certificate, then parses it back out of its own PEM:
<script type="module">
import { createSelfSignedCertificate } from 'https://esm.run/micro509@0.11.0';
</script>That works because the library is ESM and WebCrypto, and nothing else.
For the same demo with types, hot reload and micro509 as an npm dependency, see examples/vite.