Socket
Socket
Sign inDemoInstall

base64-arraybuffer-es6

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base64-arraybuffer-es6

Encode/decode base64 data into ArrayBuffers


Version published
Weekly downloads
270K
decreased by-4.71%
Maintainers
1
Weekly downloads
 
Created
Source

base64-arraybuffer-es6

Encode/decode base64 data into ArrayBuffers

An ES6 Modules-based port of base64-arraybuffer.

Also supports byteOffset and length arguments for partial encoding and allows for selective import of the two methods.

Getting Started

Install the module with: npm install base64-arraybuffer-es6

API

The library encodes and decodes base64 to and from ArrayBuffers

  • encode(buffer, byteOffset, length) - Encodes ArrayBuffer into base64 string
  • decode(str) - Decodes base64 string to ArrayBuffer

License

Copyright (c) 2017-2019 Brett Zamir, 2012 Niklas von Hertzen Licensed under the MIT license.

Keywords

FAQs

Package last updated on 17 Feb 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc