Passkeys are pretty neat! I wanted to get a demo working in Val Town so I ported over https://github.com/maximousblk/passkeys-demo.
One challenge was that the original extensively uses DenoKV store with compound keys and values. I created @stevekrouse/DenoSyntheticKV as a replacement for DenoKV. It uses SuperJSON to encode the keys and values.
You can find the client-side script for the main page here: @stevekrouse/passkey_script
https://stevekrouse-passkeys_demo.web.val.run
https://esm.town/v/stevekrouse/passkeys_demo
<script type="module" src="https://esm.town/v/stevekrouse/passkeys_demo"></script>