JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 270
  • Score
    100M100P100Q83602F

Argon2 adapter for WebAssembly and JS implementations

Package Exports

  • @hazae41/argon2

Readme

Argon2

Argon2 adapter for WebAssembly and JS implementations

npm install @hazae41/argon2
deno install jsr:@hazae41/argon2

📦 NPM📦 JSR

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Usage

WebAssembly

npm i @hazae41/argon2-wasm
import { argon2 } from "@hazae41/argon2"
import { argon2Wasm } from "@hazae41/argon2-wasm"

await argon2Wasm.load() // or argon2Wasm.loadSync()

argon2.set(argon2.fromWasm(argon2Wasm))