5.7.0 • Published 2 years ago

@ethersproject/base64 v5.7.0

Weekly downloads
123,776
License
MIT
Repository
github
Last release
2 years ago

Base64 Coder

function decode(textData: string): Uint8Array

Decodes a base64 encoded string into the binary data.

import * as base64 from "@ethersproject/base64";

let encodedData = "...";
let data = base64.decode(encodedData);
console.log(data);
// { Uint8Array: [] }

function encode(data: Arrayish): string

Decodes a base64 encoded string into the binary data.

import * as base64 from "@ethersproject/base64";

let data = [ ];
let encodedData = base64.encode(data);
console.log(encodedData);
// "..."

License

MIT License

5.7.0

2 years ago

5.6.1

3 years ago

5.6.0

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.3.0

3 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.9

4 years ago

5.0.8

4 years ago

5.0.7

4 years ago

5.0.6

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

4 years ago

5.0.2

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago

5.0.0-beta.134

5 years ago

5.0.0-beta.133

5 years ago

5.0.0-beta.132

5 years ago

5.0.0-beta.131

5 years ago

5.0.0-beta.130

5 years ago

5.0.0-beta.129

5 years ago

5.0.0-beta.128

5 years ago

5.0.0-beta.127

5 years ago

5.0.0-beta.126

5 years ago

5.0.0-beta.125

5 years ago

5.0.0-beta.124

6 years ago

5.0.0-beta.123

6 years ago

5.0.0-beta.122

6 years ago

5.0.0-beta.121

6 years ago

5.0.0-beta.120

6 years ago

5.0.0-beta.119

6 years ago

5.0.0-beta.118

6 years ago

5.0.0-beta.117

6 years ago