UNPKG
@hazae41/base58
Version:
latest (2.0.0)
2.0.0
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Base58 adapter for WebAssembly and JS implementations
github.com/hazae41/base58
hazae41/base58
@hazae41/base58
/
dist
/
types
/
mods
/
base58
/
scure.d.ts
10 lines
(7 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
*
as
Scure
from
'@scure/base'
;
import
{
BytesOrCopiable
,
Copied
}
from
'../../libs/copiable/index.js'
;
declare
function
fromScure
(
scure
:
typeof
Scure
): {
encodeOrThrow
:
(
bytes
:
BytesOrCopiable
) =>
string
;
decodeOrThrow
:
(
text
:
string
) =>
Copied
; };
export
{ fromScure };