Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

btoa-lite

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btoa-lite

Smallest/simplest possible means of using btoa with both Node and browserify

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2M
decreased by-16.99%
Maintainers
1
Weekly downloads
 
Created

What is btoa-lite?

The btoa-lite npm package is a lightweight utility for encoding data in base64 format. It is a simplified version of the native btoa function available in browsers, designed to work in Node.js environments.

What are btoa-lite's main functionalities?

Base64 Encoding

This feature allows you to encode a string into base64 format. The code sample demonstrates how to use the btoa-lite package to encode the string 'Hello, World!' into its base64 representation.

const btoa = require('btoa-lite');
const encoded = btoa('Hello, World!');
console.log(encoded); // Outputs: 'SGVsbG8sIFdvcmxkIQ=='

Other packages similar to btoa-lite

Keywords

FAQs

Package last updated on 25 Jun 2015

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