forked from sashin/sashinexists
22 lines
330 B
Markdown
22 lines
330 B
Markdown
# Decode Base64
|
|
|
|
A tiny function for decoding base64 strings into Uint8Arrays, useful for bundling and loading WASM modules.
|
|
|
|
## Install
|
|
|
|
```sh
|
|
npm install --save decode-base64
|
|
```
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import decode from 'decode-base64';
|
|
|
|
decode ( 'base64 string here...' ); // => Uint8Arrays
|
|
```
|
|
|
|
## License
|
|
|
|
MIT © Fabio Spampinato
|