aws-sigv4-fetch

JSON →
library 4.4.1 ·javascript
verified Jun 7, 2026

A lightweight wrapper around the native fetch API that automatically signs HTTP requests with AWS Signature Version 4 (SigV4) authentication. v4.4.1 is the latest stable release, actively maintained. Built on the official AWS SDK credential providers. Differentiates from alternatives by using the native `fetch` (no additional HTTP client), supporting both ESM and CommonJS, and working in Node.js >=18 and modern browsers. Credentials can be auto-resolved from environment in Node.js or provided explicitly for browser usage. Requires `@aws-sdk/credential-provider-node` (for Node.js), `@smithy/types`, and `@aws-sdk/credential-providers` as dependencies.