Skip to content
Install

Install

Worker-safe bearer-key generation and hashing primitives

Terminal window
npm install @fungi.computer/ear-tag

pnpm, Yarn and Bun work the same way.

  • @fungi.computer/ear-tag

Installing @fungi.computer/ear-tag also installs @fungi.computer/cairn.

Terminal window
npm install @fungi.computer/ear-tag

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