@types/bs58check
Version:
TypeScript definitions for bs58check
29 lines (21 loc) • 883 B
Markdown
# Installation
> `npm install --save @types/bs58check`
# Summary
This package contains type definitions for bs58check (https://github.com/bitcoinjs/bs58check).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bs58check.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bs58check/index.d.ts)
````ts
/// <reference types="node" />
declare const bs58check: {
encode(buffer: Buffer | number[] | Uint8Array): string;
decodeUnsafe(string: string): Buffer | undefined;
decode(string: string): Buffer;
};
export = bs58check;
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Andrey Sakharov](https://github.com/muturgan).