aws4
npmv1.13.2Signs and prepares requests using AWS Signature Version 4
Adopt with care
aws4 is usable, with caveats. Last published 694 days ago. 29 releases in the last 2 years.
- AAdoption: grade A, Excellent.
24.3M downloads per week and 2 known dependents.
- CMaintenance: grade C, Fair — worth a look.
Last published 694 days ago. 29 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 23 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding aws4 to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the aws4 README.
var https = require('https')
var aws4 = require('aws4')
// to illustrate usage, we'll create a utility function to request and pipe to stdout
function request(opts) { https.request(opts, function(res) { res.pipe(process.stdout) }).end(opts.body || '') }
// aws4 will sign an options object as you'd pass to http.request, with an AWS service and region
var opts = { host: 'my-bucket.s3.us-west-1.amazonaws.com', path: '/my-object', service: 's3', region: 'us-west-1' }
// aws4.sign() will sign and modify these options, ready to pass to http.request
aws4.sign(opts, { accessKeyId: '', secretAccessKey: '' })
// or it can get credentials from process.env.AWS_ACCESS_KEY_ID, etc
aws4.sign(opts)Dependencies
Declared by aws4 v1.13.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on aws4.
Relationship graph
Dependencies (left) and dependents (right) of aws4.
Frequently installed together
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
Official client encryption module for the MongoDB Node.js driver
Fastest Snappy compression library in Node.js
A collection of credential providers, without requiring service clients like STS, Cognito
Get the metadata from a Google Cloud Platform environment
[](https://github.com/mongodb-js/zstd/actions/workflows/test.yml)
TypeScript definitions for node
yargs the modern, pirate-themed, successor to optimist.
A querystring parser that supports nesting and arrays, with a depth limit
An AST-based pattern checker for JavaScript.
A stream that emits multiple other streams one after another.
SASLprep: Stringprep Profile for User Names and Passwords, rfc4013
Release history
No releases in the last two years, typically about 0 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.1.13 | 1 year ago | 26 KB | MIT |
| 0.2.5 | 1 year ago | 28 KB | MIT |
| 0.3.2 | 1 year ago | 28 KB | MIT |
| 0.4.4 | 1 year ago | 34 KB | MIT |
| 0.5.3 | 1 year ago | 34 KB | MIT |
| 0.6.2 | 1 year ago | 35 KB | MIT |
| 1.0.6 | 1 year ago | 36 KB | MIT |
| 1.1.2 | 1 year ago | 36 KB | MIT |
| 1.2.3 | 1 year ago | 38 KB | MIT |
| 0.2.4 | 1 year ago | 6.4 MB | MIT |
| 0.3.1 | 1 year ago | 6.4 MB | MIT |
| 0.4.3 | 1 year ago | 6.4 MB | MIT |
| 1.0.5 | 1 year ago | 6.4 MB | MIT |
| 1.1.1 | 1 year ago | 6.4 MB | MIT |
| 1.2.2 | 1 year ago | 6.4 MB | MIT |
Overview
aws4 is an npm package that signs and prepares requests using AWS Signature Version 4. It is extremely widely used, with about 24.3M downloads per week and 2 known dependents in the graph. The latest version is 1.13.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need signs and prepares requests using AWS Signature Version 4 and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (24.3M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use aws4?
aws4 is usable, with caveats. Last published 694 days ago. 29 releases in the last 2 years.
How do I install aws4?
Run `npm install aws4` to add aws4 to your npm project.
What license is aws4 released under?
aws4 is distributed under the MIT license.
How popular is aws4?
aws4 has approximately 24,343,262 downloads per week and 2 known dependent packages.
Is aws4 still maintained?
The most recent release of aws4 (v1.13.2) was published 1 year ago.
Does aws4 run install scripts?
No. aws4 does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.