Socket
Socket
Sign inDemoInstall

@aws-sdk/util-user-agent-node

Package Overview
Dependencies
73
Maintainers
5
Versions
188
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-sdk/util-user-agent-node

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-node.svg)](https://www.npmjs.com/


Version published
Weekly downloads
20M
increased by2.48%
Maintainers
5
Created
Weekly downloads
 

Package description

What is @aws-sdk/util-user-agent-node?

@aws-sdk/util-user-agent-node is a utility package from the AWS SDK for JavaScript. It is used to construct and manage user-agent strings for AWS SDK clients running in Node.js environments. This helps in identifying the SDK version, environment, and other relevant information when making requests to AWS services.

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

Constructing User-Agent String

This feature allows you to construct a default user-agent string that includes information about the SDK version and the runtime environment.

const { defaultUserAgent } = require('@aws-sdk/util-user-agent-node');
const userAgent = defaultUserAgent();
console.log(userAgent);

Customizing User-Agent String

This feature allows you to customize the user-agent string by adding additional information, such as application-specific details.

const { defaultUserAgent } = require('@aws-sdk/util-user-agent-node');
const customUserAgent = defaultUserAgent({ custom: 'myApp/1.0.0' });
console.log(customUserAgent);

Other packages similar to @aws-sdk/util-user-agent-node

Changelog

Source

3.495.0 (2024-01-18)

Features

  • client-b2bi: Increasing TestMapping inputFileContent file size limit to 5MB and adding file size limit 250KB for TestParsing input file. This release also includes exposing InternalServerException for Tag APIs. (255a7b4)
  • client-cloudtrail: This release adds a new API ListInsightsMetricData to retrieve metric data from CloudTrail Insights. (8bd69ca)
  • client-connect: GetMetricDataV2 now supports 3 groupings (9f1a143)
  • client-drs: Removed invalid and unnecessary default values. (d7c4d31)
  • client-firehose: Allow support for Snowflake as a Kinesis Data Firehose delivery destination. (bdf431e)
  • client-sagemaker-featurestore-runtime: Increase BatchGetRecord limits from 10 items to 100 items (f12c0b5)
  • clients: update client endpoints as of 2024-01-18 (cfe6ad9)
  • use bundled dist-cjs build (#5687) (5f79e22)

Readme

Source

@aws-sdk/util-user-agent-node

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Last updated on 18 Jan 2024

Did you know?

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