An open API service indexing awesome lists of open source software.

https://github.com/fabiospampinato/decode-base64

A tiny function for decoding base64 strings into ArrayBuffer objects, useful for bundling and loading WASM modules.
https://github.com/fabiospampinato/decode-base64

arraybuffer base64 browser buffer decode node web

Last synced: 11 months ago
JSON representation

A tiny function for decoding base64 strings into ArrayBuffer objects, useful for bundling and loading WASM modules.

Awesome Lists containing this project

README

          

# Decode Base64

A tiny function for decoding base64 strings into Uint8Arrays, useful for bundling and loading WASM modules.

## Install

```sh
npm install decode-base64
```

## Usage

```ts
import decode from 'decode-base64';

// let's decode a base64 string to a Uint8Array

decode ( 'base64 string here...' ); // => Uint8Array
```

## License

MIT © Fabio Spampinato