Install
Install
Worker-safe bearer-key generation and hashing primitives
npm install @fungi.computer/ear-tagpnpm, Yarn and Bun work the same way.
Entrypoints
Section titled “Entrypoints”@fungi.computer/ear-tag
What comes with it
Section titled “What comes with it”Installing @fungi.computer/ear-tag also installs @fungi.computer/cairn.
Install or set up
Section titled “Install or set up”npm install @fungi.computer/ear-tagThe package ships ESM only and depends on Cairn for random
strings. Hashing uses the global Web Crypto API (crypto.subtle.digest),
available in Node 19+ and in Workers runtimes. Its only entrypoint is
@fungi.computer/ear-tag.