JSPM

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

Ed25519 adapter for WebAssembly and JS implementations

Package Exports

  • @hazae41/ed25519

Readme

Ed25519

Ed25519 adapter for WebAssembly and JS implementations

npm i @hazae41/ed25519

Node Package 📦

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Usage

Berith (WebAssembly)

import { Ed25519 } from "@hazae41/ed25519"
import { Berith } from "@hazae41/berith"

await Berith.initBundledOnce()
const ed25519 = Ed25519.fromBerith(Berith)

Noble (JavaScript)

import { Ed25519 } from "@hazae41/ed25519"
import * as noble_ed25519 from "@noble/curves/ed25519"

const ed25519 = Ed25519.fromNoble(noble_ed25519.ed25519)