@hazae41/base58
Version:
Base58 for the web
27 lines (17 loc) • 404 B
Markdown
# Base58
Base58 for the web
```bash
npm i @hazae41/base58
```
[**NPM 📦**](https://www.npmjs.com/package/@hazae41/base58)
## Features
### Current features
- 100% TypeScript and ESM
- No external dependency
## Usage
```tsx
import { base58 } from "@hazae41/base58"
const text = base58.encode(Uint8Array.fromHex("deadbeef"))
console.log(text) // Hny6RY5JvhT
const data = base58.decode(text)
```