1.0.17 • Published 3 months ago

@hazae41/base16 v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Base16

Base16 adapter for WebAssembly and JS implementations

npm i @hazae41/base16

Node Package 📦

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Getting started

Buffer (NodeJS)

import { Base16 } from "@hazae41/base16"

Base16.set(Base16.fromBuffer())

Alocer (WebAssembly)

npm i @hazae41/alocer
import { Base16 } from "@hazae41/base16"

Base16.set(await Base16.fromBufferOrAlocer())

Scure (JavaScript)

npm i @scure/base
import { Base16 } from "@hazae41/base16"

Base16.set(Base16.fromBufferOrScure())

Usage

Direct

const encoded: string = Base16.get().tryEncode(new Uint8Array([1,2,3,4,5])).unwrap()
const decoded: Uint8Array = Base16.get().tryDecode(encoded).unwrap().copyAndDispose()
1.0.17

3 months ago

1.0.16

6 months ago

1.0.15

6 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago