Packages

Authentication & Authorization Packages

Authentication, authorization, and identity/session libraries for handling login, permissions, and access control securely (JWT, Passport, Sanctum).

148 packages

Packages in Authentication & Authorization

Showing 148 packages
53Health
Librarynpm

jsonwebtoken

The de facto Node.js library for signing, verifying, and decoding JSON Web Tokens.

18,190
MIT
Used by 92
88Health
Librarynpm

jose

Zero-dependency JWT, JWS, JWE, and JWK toolkit for Node.js, browsers, and edge runtimes.

7,753
MIT
Used by 62
52Health
Librarynpm

cookie-parser

Express middleware that parses HTTP Cookie headers into req.cookies, with support for signed and JSON-encoded cookie values.

2,028
MIT
Used by 51
54Health
Librarynpm

bcrypt.js

A zero-dependency, pure JavaScript implementation of bcrypt for hashing and verifying passwords in Node.js and the browser.

3,796
BSD 3
Used by 49
66Health
LibraryGo

jwt

A zero-dependency Go implementation of JSON Web Tokens (JWT) with pluggable HMAC, RSA, RSA-PSS, ECDSA, and Ed25519 signing methods.

9,201
MIT
Used by 46
95Health
SDKGo

AWS SDK for Go v2

The official AWS SDK for Go — type-safe, modular clients for every AWS service.

3,628
Apache 2.0
Used by 38
89Health
Frameworknpm

Better Auth

The most comprehensive, framework-agnostic authentication and authorization framework for TypeScript.

29,583
MIT
Used by 35
49Health
Librarynpm

bcrypt

Battle-tested password hashing for Node.js using the adaptive bcrypt algorithm.

7,802
MIT
Used by 34
43Health
Librarynpm

passport

Simple, unobtrusive authentication middleware for Node.js with 480+ pluggable strategies.

23,528
MIT
Used by 30
84Health
Librarynpm

express-rate-limit

Basic IP rate-limiting middleware for Express to throttle repeated requests and protect public APIs and sensitive endpoints.

3,285
MIT
Used by 30
66Health
Librarynpm

cookie

Basic HTTP cookie parser and serializer for HTTP servers, with zero dependencies and full RFC 6265 support.

1,531
MIT
Used by 30
95Health
SDKnpm

supabase-js

The official isomorphic JavaScript SDK for Supabase — database, auth, realtime, storage, and edge functions in one client.

4,533
MIT
Used by 26
97Health
SDKnpm

google-api-nodejs-client

Google's officially supported Node.js client library for calling hundreds of Google APIs with built-in OAuth 2.0, API key, and service-account auth.

12,231
Apache 2.0
Used by 25
81Health
Librarynpm

NextAuth.js

Open-source authentication for Next.js with OAuth, OIDC, email, and passkey sign-in.

28,332
Other
Used by 23
69Health
LibraryPyPI

PyJWT

A Python implementation of RFC 7519 for encoding, decoding, and verifying JSON Web Tokens.

5,685
MIT
Used by 23

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search