Socket
Socket
Sign inDemoInstall

@protobufjs/base64

Package Overview
Dependencies
0
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

@protobufjs/base64

A minimal base64 implementation for number arrays.

    1.1.2latest
    GitHub
    npm

Version published
Maintainers
2
Weekly downloads
11,156,268
increased by2.78%

Weekly downloads

Readme

Source

@protobufjs/base64

npm

A minimal base64 implementation for number arrays.

API

  • base64.length(string: string): number
    Calculates the byte length of a base64 encoded string.

  • base64.encode(buffer: Uint8Array, start: number, end: number): string
    Encodes a buffer to a base64 encoded string.

  • base64.decode(string: string, buffer: Uint8Array, offset: number): number
    Decodes a base64 encoded string to a buffer.

License: BSD 3-Clause License

FAQs

Last updated on 09 Jun 2017

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc