Skip to content
JS
Package category

Authentication and authorisation

Log users in, issue tokens, manage sessions and permissions.

735 packages4 comparisons

Packages compared

735 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
react-native-app-auth
React Native bridge for AppAuth for supporting any OAuth 2 provider
113.6k+11%-2 months ago
8.4.1
CommonJSBundledAuthentication and authorisation, React
@daveyplate/better-auth-tanstack
Tanstack hooks for better-auth
113.2k---1 year ago
1.3.6
ESM + CommonJSBundledAuthentication and authorisation
remix-auth-oauth2
A strategy to use and implement OAuth2 framework for authentication with federated services like Google, Facebook, GitHub, etc.
106.5k+16%-1 year ago
3.4.1
ESM onlyNoneAuthentication and authorisation
@fastify/basic-auth
Fastify Basic auth plugin
104.9k---1 month ago
6.3.0
CommonJSBundledAuthentication and authorisation
react-native-passkey
Passkey implementation for React Native
101.7k+301%-17 days ago
3.6.2
ESM + CommonJSBundledAuthentication and authorisation, React
@clerk/fastify
Clerk SDK for Fastify
101k---today
3.1.82
ESM + CommonJSBundledAuthentication and authorisation
saml2-js
SAML 2.0 node helpers
99.9k+10%-1 year ago
4.0.4
CommonJSNoneAuthentication and authorisation
@better-auth/scim
SCIM plugin for Better Auth
99.9k---1 day ago
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@azure/static-web-apps-cli
Azure Static Web Apps CLI
95.4k---2 months ago
2.0.10
ESM onlyNoneCloud SDKs, Authentication and authorisation
@zereight/mcp-gitlab
GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more
93.9k---2 days ago
2.1.66
ESM onlyNoneAuthentication and authorisation
@fastify/auth
Run multiple auth functions in Fastify
89.9k---9 days ago
5.1.1
CommonJSBundledAuthentication and authorisation
@commercetools/sdk-client-v2
commercetools TypeScript SDK client.
88.9k---1 month ago
4.0.1
ESM + CommonJSBundledTypeScript tooling, Authentication and authorisation
@workos/authkit-tanstack-react-start
The WorkOS library for TanStack React Start provides convenient helpers for authentication and session management using WorkOS & AuthKit with TanStack React Start.
88.4k---10 days ago
0.11.1
ESM onlyBundledAuthentication and authorisation, React
@neondatabase/auth
TypeScript SDK for Neon Auth - authentication for PostgreSQL with multiple adapter support
85.8k---1 month ago
0.5.0-beta
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@hapi/cookie
Cookie authentication plugin
84k---3 years ago
12.0.1
CommonJSNoneAuthentication and authorisation
@neondatabase/auth-ui
React UI components for Neon Auth - pre-built sign-in, sign-up, and user management forms
83.9k---1 month ago
0.3.0-beta
ESM onlyBundledAuthentication and authorisation, React
passport-openidconnect
OpenID Connect authentication strategy for Passport.
83.7k+60%-2 years ago
0.1.2
CommonJSNoneAuthentication and authorisation
@capacitor-firebase/authentication
Capacitor plugin for Firebase Authentication on Android, iOS, and Web.
82.4k---8 days ago
8.5.2
ESM + CommonJSBundledCloud SDKs, Authentication and authorisation
@stytch/vanilla-js
Stytch's official Javascript Client Library
82.1k---13 days ago
6.3.0
ESM + CommonJSBundledAuthentication and authorisation
secure-web-token
A secure, encrypted, device-bound authentication token library for Node.js — the best alternative to JWT with AES-256-GCM encryption, device fingerprinting, and true logout support.
81.3k--3 months ago
3.0.1
ESM + CommonJSBundledAuthentication and authorisation, Security
keycloak-connect
Keycloak Connect Middleware
77.5k-8%-1 year ago
26.1.1
CommonJSBundledAuthentication and authorisation
passport-apple
Passport strategy for Sign in with Apple
75.9k+54%-3 years ago
2.0.2
CommonJSNoneAuthentication and authorisation
@badgateway/oauth2-client
OAuth2 client for browsers and Node.js. Tiny footprint, PKCE support
75.8k---1 year ago
3.3.1
ESM onlyBundledAuthentication and authorisation, HTTP clients
react-native-biometrics
React Native biometric functionality for signing and encryption
74.9k+20%-4 years ago
3.0.1
ESM + CommonJSBundledAuthentication and authorisation, React
@thallesp/nestjs-better-auth
Better Auth for NestJS
73.5k---21 days ago
2.8.0
ESM onlyBundledAuthentication and authorisation
hapi-auth-bearer-token
Simple Bearer authentication scheme plugin for hapi, accepts token by Header, Cookie or Query parameter.
70.6k+294%-5 years ago
8.0.0
CommonJSNoneAuthentication and authorisation
@clerk/react-router
Clerk SDK for React Router
70k---today
3.6.27
ESM onlyBundledAuthentication and authorisation, Routing
passport-anonymous
Anonymous authentication strategy for Passport.
69.1k+87%-13 years ago
1.0.1
CommonJSNoneAuthentication and authorisation
saml
Create SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.
68.2k+3%-5 months ago
4.0.0
CommonJSNoneAuthentication and authorisation
@adonisjs/auth
Official authentication provider for Adonis framework
68k---5 months ago
10.1.0
ESM onlyBundledAuthentication and authorisation
@bitauth/libauth
ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth
66.4k---2 years ago
3.0.0
ESM onlyBundledBlockchain and Web3, Authentication and authorisation
ldapauth-fork
Authenticate against an LDAP server
62.1k+58%-2 years ago
6.1.0
CommonJSBundledAuthentication and authorisation
@stytch/react
Stytch's official React Library
57.3k---13 days ago
20.3.0
ESM + CommonJSBundledAuthentication and authorisation, React
maskdata
Node module to mask various kinds of data in the required formats
57k+20%-10 months ago
1.3.4
CommonJSBundledAuthentication and authorisation, Cryptography and hashing
passport-ldapauth
LDAP authentication strategy for Passport
56k+68%-5 years ago
3.0.1
CommonJSBundledAuthentication and authorisation
@aws-amplify/graphql-auth-transformer
Amplify GraphQL @auth transformer
55.5k---2 months ago
4.2.9
CommonJSBundledCloud SDKs, GraphQL
passport-google-one-tap
Google One Tap authentication strategy for Passport.
55.4k-34%-3 years ago
1.0.1
CommonJSBundledAuthentication and authorisation
axios-oauth-client
OAuth 2.0 client utils for axios
55k+23%-2 years ago
2.2.0
ESM + CommonJSBundledAuthentication and authorisation
bcrypt-nodejs
A native JS bcrypt library for NodeJS.
53.3k+8%--
0.0.3
CommonJSNoneCryptography and hashing, Authentication and authorisation
passport-oauth2-refresh
A passport.js add-on to provide automatic OAuth 2.0 token refreshing.
52.8k+189%-3 years ago
2.2.0
CommonJSNoneAuthentication and authorisation
react-relay-network-modern
Network Layer for React Relay and Express (Batch Queries, AuthToken, Logging, Retry)
52.3k+130%-3 years ago
6.2.2
CommonJSBundledAuthentication and authorisation, React
next-client-cookies
SSR and client support for Next.js v13 cookies (app directory)
52.2k+70%-8 days ago
2.1.2
ESM + CommonJSBundledStatic site generators and meta-frameworks, Authentication and authorisation
@propelauth/javascript
A library for managing authentication in the browser, backed by PropelAuth
50.3k---9 months ago
2.0.24
ESM + CommonJSBundledAuthentication and authorisation
@passwordless-id/webauthn
A small wrapper around the webauthn protocol to make one's life easier.
50.2k---4 months ago
2.4.0
ESM + CommonJSBundledAuthentication and authorisation
@propelauth/react
A React library for managing authentication, backed by PropelAuth
48.6k---6 months ago
2.1.1
ESM + CommonJSBundledAuthentication and authorisation, React
@ewsjs/ntlm-client
A node.js NTLM client with support for NTLM and NTLMv2 authentication, forked from clncln1/node-ntlm-client
48.3k---2 years ago
3.0.1
CommonJSNoneAuthentication and authorisation
@xboxreplay/xboxlive-auth
A lightweight, zero-dependency Xbox Network (Xbox Live) authentication library for Node.js with OAuth 2.0 support.
48.1k---1 year ago
5.1.0
ESM + CommonJSBundledAuthentication and authorisation
@elysiajs/jwt
Elysia plugin to integrate JSON Web Tokens (JWT)
47.9k---5 months ago
1.4.2
ESM + CommonJSBundledAuthentication and authorisation
ngx-permissions
Permission and roles based access control for your angular(angular 2,4,5,6,7,8+) applications(AOT, lazy modules compatible)
47.9k-7%-1 year ago
19.0.0
ESM + CommonJSBundledAuthentication and authorisation, Angular
@clerk/electron
Clerk SDK for Electron
47.8k---today
0.0.47
ESM + CommonJSBundledAuthentication and authorisation

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.