Package category
Authentication and authorisation
Log users in, issue tokens, manage sessions and permissions.
735 packages4 comparisons
Packages compared
735 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| react-native-app-auth React Native bridge for AppAuth for supporting any OAuth 2 provider | 113.6k | +11% | - | 2 months ago 8.4.1 | CommonJS | Bundled | Authentication and authorisation, React | |
| @daveyplate/better-auth-tanstack Tanstack hooks for better-auth | 113.2k | - | - | - | 1 year ago 1.3.6 | ESM + CommonJS | Bundled | Authentication 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 only | None | Authentication and authorisation | |
| @fastify/basic-auth Fastify Basic auth plugin | 104.9k | - | - | - | 1 month ago 6.3.0 | CommonJS | Bundled | Authentication and authorisation |
| react-native-passkey Passkey implementation for React Native | 101.7k | +301% | - | 17 days ago 3.6.2 | ESM + CommonJS | Bundled | Authentication and authorisation, React | |
| @clerk/fastify Clerk SDK for Fastify | 101k | - | - | - | today 3.1.82 | ESM + CommonJS | Bundled | Authentication and authorisation |
| saml2-js SAML 2.0 node helpers | 99.9k | +10% | - | 1 year ago 4.0.4 | CommonJS | None | Authentication and authorisation | |
| @better-auth/scim SCIM plugin for Better Auth | 99.9k | - | - | - | 1 day ago 1.7.6 | ESM only | Bundled | Authentication and authorisation, TypeScript tooling |
| @azure/static-web-apps-cli Azure Static Web Apps CLI | 95.4k | - | - | - | 2 months ago 2.0.10 | ESM only | None | Cloud 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 only | None | Authentication and authorisation |
| @fastify/auth Run multiple auth functions in Fastify | 89.9k | - | - | - | 9 days ago 5.1.1 | CommonJS | Bundled | Authentication and authorisation |
| @commercetools/sdk-client-v2 commercetools TypeScript SDK client. | 88.9k | - | - | - | 1 month ago 4.0.1 | ESM + CommonJS | Bundled | TypeScript 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 only | Bundled | Authentication 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 only | Bundled | Authentication and authorisation, TypeScript tooling |
| @hapi/cookie Cookie authentication plugin | 84k | - | - | - | 3 years ago 12.0.1 | CommonJS | None | Authentication 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 only | Bundled | Authentication and authorisation, React |
| passport-openidconnect OpenID Connect authentication strategy for Passport. | 83.7k | +60% | - | 2 years ago 0.1.2 | CommonJS | None | Authentication and authorisation | |
| @capacitor-firebase/authentication Capacitor plugin for Firebase Authentication on Android, iOS, and Web. | 82.4k | - | - | - | 8 days ago 8.5.2 | ESM + CommonJS | Bundled | Cloud SDKs, Authentication and authorisation |
| @stytch/vanilla-js Stytch's official Javascript Client Library | 82.1k | - | - | - | 13 days ago 6.3.0 | ESM + CommonJS | Bundled | Authentication 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 + CommonJS | Bundled | Authentication and authorisation, Security | |
| keycloak-connect Keycloak Connect Middleware | 77.5k | -8% | - | 1 year ago 26.1.1 | CommonJS | Bundled | Authentication and authorisation | |
| passport-apple Passport strategy for Sign in with Apple | 75.9k | +54% | - | 3 years ago 2.0.2 | CommonJS | None | Authentication 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 only | Bundled | Authentication 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 + CommonJS | Bundled | Authentication and authorisation, React | |
| @thallesp/nestjs-better-auth Better Auth for NestJS | 73.5k | - | - | - | 21 days ago 2.8.0 | ESM only | Bundled | Authentication 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 | CommonJS | None | Authentication and authorisation | |
| @clerk/react-router Clerk SDK for React Router | 70k | - | - | - | today 3.6.27 | ESM only | Bundled | Authentication and authorisation, Routing |
| passport-anonymous Anonymous authentication strategy for Passport. | 69.1k | +87% | - | 13 years ago 1.0.1 | CommonJS | None | Authentication and authorisation | |
| saml Create SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens. | 68.2k | +3% | - | 5 months ago 4.0.0 | CommonJS | None | Authentication and authorisation | |
| @adonisjs/auth Official authentication provider for Adonis framework | 68k | - | - | - | 5 months ago 10.1.0 | ESM only | Bundled | Authentication and authorisation |
| @bitauth/libauth ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth | 66.4k | - | - | - | 2 years ago 3.0.0 | ESM only | Bundled | Blockchain and Web3, Authentication and authorisation |
| ldapauth-fork Authenticate against an LDAP server | 62.1k | +58% | - | 2 years ago 6.1.0 | CommonJS | Bundled | Authentication and authorisation | |
| @stytch/react Stytch's official React Library | 57.3k | - | - | - | 13 days ago 20.3.0 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| maskdata Node module to mask various kinds of data in the required formats | 57k | +20% | - | 10 months ago 1.3.4 | CommonJS | Bundled | Authentication and authorisation, Cryptography and hashing | |
| passport-ldapauth LDAP authentication strategy for Passport | 56k | +68% | - | 5 years ago 3.0.1 | CommonJS | Bundled | Authentication and authorisation | |
| @aws-amplify/graphql-auth-transformer Amplify GraphQL @auth transformer | 55.5k | - | - | - | 2 months ago 4.2.9 | CommonJS | Bundled | Cloud SDKs, GraphQL |
| passport-google-one-tap Google One Tap authentication strategy for Passport. | 55.4k | -34% | - | 3 years ago 1.0.1 | CommonJS | Bundled | Authentication and authorisation | |
| axios-oauth-client OAuth 2.0 client utils for axios | 55k | +23% | - | 2 years ago 2.2.0 | ESM + CommonJS | Bundled | Authentication and authorisation | |
| bcrypt-nodejs A native JS bcrypt library for NodeJS. | 53.3k | +8% | - | - 0.0.3 | CommonJS | None | Cryptography 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 | CommonJS | None | Authentication 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 | CommonJS | Bundled | Authentication 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 + CommonJS | Bundled | Static 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 + CommonJS | Bundled | Authentication 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 + CommonJS | Bundled | Authentication and authorisation |
| @propelauth/react A React library for managing authentication, backed by PropelAuth | 48.6k | - | - | - | 6 months ago 2.1.1 | ESM + CommonJS | Bundled | Authentication 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 | CommonJS | None | Authentication 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 + CommonJS | Bundled | Authentication and authorisation |
| @elysiajs/jwt Elysia plugin to integrate JSON Web Tokens (JWT) | 47.9k | - | - | - | 5 months ago 1.4.2 | ESM + CommonJS | Bundled | Authentication 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 + CommonJS | Bundled | Authentication and authorisation, Angular | |
| @clerk/electron Clerk SDK for Electron | 47.8k | - | - | - | today 0.0.47 | ESM + CommonJS | Bundled | Authentication 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.
- react-native-app-authReact Native bridge for AppAuth for supporting any OAuth 2 provider
- @daveyplate/better-auth-tanstackTanstack hooks for better-auth
- remix-auth-oauth2A strategy to use and implement OAuth2 framework for authentication with federated services like Google, Facebook, GitHub, etc.
- @fastify/basic-authFastify Basic auth plugin
- react-native-passkeyPasskey implementation for React Native
- @clerk/fastifyClerk SDK for Fastify
- saml2-jsSAML 2.0 node helpers
- @better-auth/scimSCIM plugin for Better Auth
- @azure/static-web-apps-cliAzure Static Web Apps CLI
- @zereight/mcp-gitlabGitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more
- @fastify/authRun multiple auth functions in Fastify
- @commercetools/sdk-client-v2commercetools TypeScript SDK client.
- @workos/authkit-tanstack-react-startThe WorkOS library for TanStack React Start provides convenient helpers for authentication and session management using WorkOS & AuthKit with TanStack React Start.
- @neondatabase/authTypeScript SDK for Neon Auth - authentication for PostgreSQL with multiple adapter support
- @hapi/cookieCookie authentication plugin
- @neondatabase/auth-uiReact UI components for Neon Auth - pre-built sign-in, sign-up, and user management forms
- passport-openidconnectOpenID Connect authentication strategy for Passport.
- @capacitor-firebase/authenticationCapacitor plugin for Firebase Authentication on Android, iOS, and Web.
- @stytch/vanilla-jsStytch's official Javascript Client Library
- secure-web-tokenA 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.
- keycloak-connectKeycloak Connect Middleware
- passport-applePassport strategy for Sign in with Apple
- @badgateway/oauth2-clientOAuth2 client for browsers and Node.js. Tiny footprint, PKCE support
- react-native-biometricsReact Native biometric functionality for signing and encryption
- @thallesp/nestjs-better-authBetter Auth for NestJS
- hapi-auth-bearer-tokenSimple Bearer authentication scheme plugin for hapi, accepts token by Header, Cookie or Query parameter.
- @clerk/react-routerClerk SDK for React Router
- passport-anonymousAnonymous authentication strategy for Passport.
- samlCreate SAML assertions. Supports SAML 1.1 and SAML 2.0 tokens.
- @adonisjs/authOfficial authentication provider for Adonis framework
- @bitauth/libauthultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth
- ldapauth-forkAuthenticate against an LDAP server
- @stytch/reactStytch's official React Library
- maskdataNode module to mask various kinds of data in the required formats
- passport-ldapauthLDAP authentication strategy for Passport
- @aws-amplify/graphql-auth-transformerAmplify GraphQL @auth transformer
- passport-google-one-tapGoogle One Tap authentication strategy for Passport.
- axios-oauth-clientOAuth 2.0 client utils for axios
- bcrypt-nodejsA native JS bcrypt library for NodeJS.
- passport-oauth2-refreshA passport.js add-on to provide automatic OAuth 2.0 token refreshing.
- react-relay-network-modernNetwork Layer for React Relay and Express (Batch Queries, AuthToken, Logging, Retry)
- next-client-cookiesSSR and client support for Next.js v13 cookies (app directory)
- @propelauth/javascriptA library for managing authentication in the browser, backed by PropelAuth
- @passwordless-id/webauthnA small wrapper around the webauthn protocol to make one's life easier.
- @propelauth/reactA React library for managing authentication, backed by PropelAuth
- @ewsjs/ntlm-clientA node.js NTLM client with support for NTLM and NTLMv2 authentication, forked from clncln1/node-ntlm-client
- @xboxreplay/xboxlive-authA lightweight, zero-dependency Xbox Network (Xbox Live) authentication library for Node.js with OAuth 2.0 support.
- @elysiajs/jwtElysia plugin to integrate JSON Web Tokens (JWT)
- ngx-permissionsPermission and roles based access control for your angular(angular 2,4,5,6,7,8+) applications(AOT, lazy modules compatible)
- @clerk/electronClerk SDK for Electron