</>PackageGraphPackageGraph

aws4

npmv1.13.2

Signs 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

23 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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.

javascriptFull 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)
Example truncated — see the full README.

Dependencies

Declared by aws4 v1.13.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

mocha ^10.7.3should ^13.2.3

Used by

Popular packages that depend on aws4.

Relationship graph

Dependencies (left) and dependents (right) of aws4.

requestmongodbaws4
aws4 dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 0 days apart.

Recent versions of aws4
VersionPublishedSizeLicense
0.1.131 year ago26 KBMIT
0.2.51 year ago28 KBMIT
0.3.21 year ago28 KBMIT
0.4.41 year ago34 KBMIT
0.5.31 year ago34 KBMIT
0.6.21 year ago35 KBMIT
1.0.61 year ago36 KBMIT
1.1.21 year ago36 KBMIT
1.2.31 year ago38 KBMIT
0.2.41 year ago6.4 MBMIT
0.3.11 year ago6.4 MBMIT
0.4.31 year ago6.4 MBMIT
1.0.51 year ago6.4 MBMIT
1.1.11 year ago6.4 MBMIT
1.2.21 year ago6.4 MBMIT

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.