@aws-sdk/util-user-agent-browser
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
@aws-sdk/types | 3.413.0 | 13.14 kB | Apache-2.0 | prod | |
@smithy/types | 2.12.0 | 227.75 kB | Apache-2.0 | prod | |
bowser | 2.11.0 | 57.68 kB | MIT | prod | |
tslib | 2.6.2 | 15.59 kB | 0BSD | prod |
The @aws-sdk/util-user-agent-browser
is a utility package used within the AWS SDK for JavaScript V3. Its primary function is to assist with the generation and handling of user-agent strings in a browser environment. Certain specific functionalities of the @@aws-sdk/util-user-agent-browser package are internal to AWS SDK and are tailored to optimize and enhance web application interactions with AWS services on the browser side.
Although the readme file advises against direct usage of the @aws-sdk/util-user-agent-browser
package, if you have a specific use case necessitating direct usage, you can import and use this utility in your project once installed via NPM. It's important to note, however, that the package is primarily designed for internal use within AWS SDK. Here's an example of how you might use it:
const userAgentHelper = require('@aws-sdk/util-user-agent-browser');
const userAgentString = userAgentHelper();
console.log(userAgentString);
Keep in mind that the usage of this package may change as you update versions or in response to internal modifications on the side of AWS SDK, so it would be advisable to check for any notable changes in behavior or deprecated functionalities if you opt to use it directly.
The @aws-sdk/util-user-agent-browser
documentation is not listed separately because it's an internal utility within the AWS SDK. Information specific to this utility can be found in the broader AWS SDK for JavaScript V3 documentation. Use this GitHub link to access the AWS SDK GitHub repository where you can find extensive resources about various AWS SDK packages, including the @aws-sdk/util-user-agent-browser
.