Socket
Book a DemoInstallSign in
Socket

fast-base64-decode

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-base64-decode

A fast Base64 decoder with a low level API. If you want a high level API, look at [base64-js](https://github.com/beatgammit/base64-js).

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1.5M
0.16%
Maintainers
1
Weekly downloads
 
Created
Source

Fast Base64 Decoding

A fast Base64 decoder with a low level API. If you want a high level API, look at base64-js.

Installation

npm install --save fast-base64-decode

Usage

import base64Decode from 'fast-base64-decode'

// You need to know the length of the decoded data
const result = new Uint8Array(13)

// Pass the string to decode, and a `UInt8Array` where the bytes will be written
base64Decode('SGVsbG8sIFdvcmxkIQ==', result)

Keywords

base64-decode

FAQs

Package last updated on 30 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.