EscherJS is a JavaScript implementation of the Escher HTTP request signing algorithm, based on Amazon's AWS Signature Version 4 but generalized and extended. Version 4.0.2 (stable, released 2023) supports Node >=16 and is ESM-only. It provides both client and server-side signing and validation of HTTP requests. Key differentiators: it's the reference JS library for the Escher auth protocol, used in production by multiple companies. The library has a history of breaking changes (v2, v3, v4) with updated minimum Node versions and URL encoding fixes.
npm install escher-authVerified import paths — ran on the pinned version, not inferred.
Shows how to create an Escher instance, sign a request, and validate it.
Use import syntax or dynamic import in CJS projects.
Upgrade to v2+ or manually encode parentheses in request URLs.
Upgrade to v1+ and ensure Node >=6.14.4.
Use Node >=16 or stick with v3 (supports older Node).
Use named import { Escher } from 'escher-auth'.Use import { Escher } from 'escher-auth' or const { Escher } = await import('escher-auth').Run npm install escher-auth and ensure correct import.
Set algo to 'SHA256' or 'SHA512'.
Provide credentialScope as string like 'us-east-1/api'.
No dependency data recorded yet.