You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@aws-sdk/util-base64-browser

Package Overview
Dependencies
1
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-base64-browser

A pure JS Base64 <-> UInt8Array converter


Version published
Maintainers
5
Created

Package description

What is @aws-sdk/util-base64-browser?

@aws-sdk/util-base64-browser is a utility package designed for encoding and decoding Base64 strings in browser environments. It is part of the AWS SDK for JavaScript and provides simple functions to handle Base64 operations, which are often needed for encoding binary data as text.

What are @aws-sdk/util-base64-browser's main functionalities?

Base64 Encoding

This feature allows you to encode a string into Base64 format. The `toBase64` function takes a string input and returns its Base64 encoded version.

const { toBase64 } = require('@aws-sdk/util-base64-browser');
const input = 'Hello, World!';
const encoded = toBase64(input);
console.log(encoded); // Outputs: 'SGVsbG8sIFdvcmxkIQ=='

Base64 Decoding

This feature allows you to decode a Base64 encoded string back to its original format. The `fromBase64` function takes a Base64 encoded string and returns the decoded string.

const { fromBase64 } = require('@aws-sdk/util-base64-browser');
const encoded = 'SGVsbG8sIFdvcmxkIQ==';
const decoded = fromBase64(encoded);
console.log(decoded); // Outputs: 'Hello, World!'

Other packages similar to @aws-sdk/util-base64-browser

Changelog

Source

3.209.0 (2022-11-11)

Bug Fixes

  • clients: remove unconditional add of util-base64 node and browser modules (#4170) (24ec718)
  • clients: use default no-op logger in clients codegen (#4171) (9721730)

Features

  • client-iot: This release add new api listRelatedResourcesForAuditFinding and new member type IssuerCertificates for Iot device device defender Audit. (ef24039)
  • client-license-manager: AWS License Manager now supports onboarded Management Accounts or Delegated Admins to view granted licenses aggregated from all accounts in the organization. (63e5da1)
  • client-marketplace-catalog: Added three new APIs to support tagging and tag-based authorization: TagResource, UntagResource, and ListTagsForResource. Added optional parameters to the StartChangeSet API to support tagging a resource while making a request to create it. (65b66c7)
  • client-rekognition: Adding support for ImageProperties feature to detect dominant colors and image brightness, sharpness, and contrast, inclusion and exclusion filters for labels and label categories, new fields to the API response, "aliases" and "categories" (a0ad760)
  • client-ssm-incidents: RelatedItems now have an ID field which can be used for referencing them else where. Introducing event references in TimelineEvent API and increasing maximum length of "eventData" to 12K characters. (de55f7e)
  • clients: update client endpoints as of 2022-11-11 (34fc28e)
  • sso: use SSOTokenProvider in SSOCredentialProvider (#4145) (e4ea7d0)

Readme

Source

@aws-sdk/util-base64-browser

NPM version NPM downloads

Deprecated package

This internal package is deprecated in favor of @aws-sdk/util-base64.

FAQs

Package last updated on 11 Nov 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc