JSPM

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

Argon2 adapter for WebAssembly and JS implementations

Package Exports

  • @hazae41/argon2

Readme

Argon2

Argon2 adapter for WebAssembly and JS implementations

npm install --save-peer @hazae41/argon2

📦 NPM

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Implementation

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))