</>PackageGraphPackageGraph

aws4

npmv1.13.2

Signs and prepares requests using AWS Signature Version 4

Adopt with care

aws4 is usable, with caveats. Last published 743 days ago.

  • AAdoption: grade A, Excellent.

    22.9M downloads per week and 2 known dependents.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 743 days ago.

  • 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

socksnpm

Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.

51.6M/wk2 dependentsMITTS
@aws-sdk/credential-providersnpm

A collection of credential providers, without requiring service clients like STS, Cognito

16M/wk1 dependentsApache-2.0TS
mongodb-client-encryptionnpm

Official client encryption module for the MongoDB Node.js driver

211.1K/wk2 dependentsApache-2.0TS
@mongodb-js/zstdnpm

[![CI](https://github.com/mongodb-js/zstd/actions/workflows/test.yml/badge.svg)](https://github.com/mongodb-js/zstd/actions/workflows/test.yml)

0/wk2 dependentsApache-2.0TS
snappynpm

Fastest Snappy compression library in Node.js

0/wk1 dependentsMITTS
gcp-metadatanpm

Get the metadata from a Google Cloud Platform environment

0/wk1 dependentsApache-2.0TS
esbuildnpm

An extremely fast JavaScript and CSS bundler and minifier.

242.4M/wk42 dependentsMITTS
eslintnpm

An AST-based pattern checker for JavaScript.

138.4M/wk279 dependentsMITTS
prettiernpm

Prettier is an opinionated code formatter

114.2M/wk159 dependentsMITTS
expressnpm

Fast, unopinionated, minimalist web framework

92.8M/wk17 dependentsMIT
ts-nodenpm

TypeScript execution environment and REPL for node.js, with source map support

42.2M/wk38 dependentsMITTS
mongodb-connection-string-urlnpm

MongoDB connection strings, based on the WhatWG URL API

8.8M/wk1 dependentsApache-2.0TS

Release history

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

Recent versions of aws4
VersionPublishedSizeLicense
0.1.132 years ago26 KBMIT
0.2.52 years ago28 KBMIT
0.3.22 years ago28 KBMIT
0.4.42 years ago34 KBMIT
0.5.32 years ago34 KBMIT
0.6.22 years ago35 KBMIT
1.0.62 years ago36 KBMIT
1.1.22 years ago36 KBMIT
1.2.32 years ago38 KBMIT
0.2.42 years ago6.4 MBMIT
0.3.12 years ago6.4 MBMIT
0.4.32 years ago6.4 MBMIT
1.0.52 years ago6.4 MBMIT
1.1.12 years ago6.4 MBMIT
1.2.22 years 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 22.9M 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 (22.9M 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 743 days ago.

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 22,895,517 downloads per week and 2 known dependent packages.

Is aws4 still maintained?

The most recent release of aws4 (v1.13.2) was published 2 years 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.