UNPKG
url-safe-base64
Version:
latest (1.3.0)
1.3.0
1.2.0
1.1.1
1.1.0
1.0.0
url safe base64 en- and decoding
github.com/commenthol/url-safe-base64
commenthol/url-safe-base64
url-safe-base64
/
types
/
index.d.ts
6 lines
(5 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
export
function
encode
(
base64
:
string
):
string
;
export
function
decode
(
safe
:
string
):
string
;
export
function
trim
(
string
:
string
):
string
;
export
function
isBase64
(
string
:
string
):
boolean
;
export
function
isUrlSafeBase64
(
string
:
string
):
boolean
;