Socket
Socket
Sign inDemoInstall

@aws-sdk/util-utf8-node

Package Overview
Dependencies
2
Maintainers
7
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-utf8-node


Version published
Weekly downloads
1.9M
decreased by-20.1%
Maintainers
7
Install size
180 kB
Created
Weekly downloads
 

Package description

What is @aws-sdk/util-utf8-node?

The @aws-sdk/util-utf8-node package is designed for encoding and decoding UTF-8 content specifically in Node.js environments. It provides utilities to convert strings to UTF-8 byte arrays and vice versa, which is particularly useful when working with AWS SDKs that require such transformations for handling text in various AWS services.

What are @aws-sdk/util-utf8-node's main functionalities?

UTF-8 Encoding

Converts a JavaScript string to a UTF-8 encoded byte array. This is useful for preparing data for transmission or storage in formats that require UTF-8 encoding.

"const { fromUtf8 } = require('@aws-sdk/util-utf8-node');
const utf8EncodedString = fromUtf8('Hello World');"

UTF-8 Decoding

Converts a UTF-8 encoded byte array back into a JavaScript string. This is useful for reading data that was stored or transmitted as UTF-8 encoded bytes.

"const { toUtf8 } = require('@aws-sdk/util-utf8-node');
const decodedString = toUtf8(utf8EncodedString);"

Other packages similar to @aws-sdk/util-utf8-node

Changelog

Source

3.22.0 (2021-07-16)

Bug Fixes

  • clients: link to Hash Interface (#2573) (bb7b3ed)
  • clients: prefix dist/ for typesVersions TS<4 (#2580) (dff5cd4)
  • codegen: fix detection of -s for generate-clients (#2588) (c989b76)
  • node-http-handler: throw meaningful errors in H2 events (#2568) (160aeba)

Features

  • clients: update clients as of 07/16/2021 (#2591) (f231e7c)
  • credential-provider-sso: support sso credential when resolving shared credential file (#2583) (9480e70)
  • postinstall-node-version-check: util to show NodeDeprecationWarning (#2585) (08c0342)

Readme

Source

@aws-sdk/util-utf8-node

NPM version NPM downloads

FAQs

Last updated on 16 Jul 2021

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc