bech32
- Version 2.0.0
- Published
- 10.2 kB
- No dependencies
- MIT license
Install
npm i bech32
yarn add bech32
pnpm add bech32
Overview
Bech32 encoding / decoding
Index
Variables
Functions
function fromWords
fromWords: (words: ArrayLike<number>) => number[];
function fromWordsUnsafe
fromWordsUnsafe: (words: ArrayLike<number>) => number[] | undefined;
function toWords
toWords: (bytes: ArrayLike<number>) => number[];
Interfaces
interface BechLib
interface BechLib {}
property decode
decode: (str: string, LIMIT?: number | undefined) => Decoded;
property decodeUnsafe
decodeUnsafe: (str: string, LIMIT?: number | undefined) => Decoded | undefined;
property encode
encode: ( prefix: string, words: ArrayLike<number>, LIMIT?: number | undefined) => string;
property fromWords
fromWords: typeof fromWords;
property fromWordsUnsafe
fromWordsUnsafe: typeof fromWordsUnsafe;
property toWords
toWords: typeof toWords;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (9)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/bech32
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/bech32)
- HTML<a href="https://www.jsdocs.io/package/bech32"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2178 ms. - Missing or incorrect documentation? Open an issue for this package.