JSPM

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

Hexadecimal string types

Package Exports

  • @hazae41/hexane

Readme

Hex

Hexadecimal string types

npm i @hazae41/hexane

Node Package 📦

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Usage

function recover(signature: ZeroHexString<32>) {
  // just use signature like a normal string
}

const raw = prompt("Enter your signature as zero-hex")
const hex = ZeroHexString.String.Length.asOrThrow(raw, 32)

recover(hex)