JSPM

decode-base64

3.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1758
  • Score
    100M100P100Q112099F
  • License MIT

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

Package Exports

  • decode-base64

Readme

Decode Base64

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

Install

npm install decode-base64

Usage

import decode from 'decode-base64';

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

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

License

MIT © Fabio Spampinato