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 |
|---|---|---|---|---|---|---|---|---|
| @epic-web/totp Create and verify cryptographically secure Time-based One-time Passwords (TOTP) using the HMAC-based One-time Password (HOTP) algorithm. | 47.5k | - | - | - | 1 year ago 4.0.1 | ESM only | Bundled | Authentication and authorisation |
| passport-twitter Twitter authentication strategy for Passport. | 47.4k | +2% | - | 10 years ago 1.0.4 | CommonJS | None | Authentication and authorisation | |
| @clerk/chrome-extension Clerk SDK for Chrome extensions | 47.4k | - | - | - | today 3.1.87 | ESM + CommonJS | Bundled | Authentication and authorisation |
| passport-google-oauth2 Passport strategy for Google OAuth 2.0 | 47.2k | -0% | - | 7 years ago 0.2.0 | CommonJS | None | Authentication and authorisation | |
| accesscontrol Role and Attribute based Access Control for Node.js | 47.1k | -1% | - | 1 day ago 3.1.1 | ESM only | Bundled | Authentication and authorisation | |
| passport-twitch-strategy Twitch (OAuth) authentication strategies for Passport. v5 | 47k | -45% | - | 5 years ago 2.2.0 | CommonJS | None | Authentication and authorisation | |
| @jm18457/kafkajs-msk-iam-authentication-mechanism Authentication mechanism for AWS MSK IAM for KafkaJS. | 44.4k | - | - | - | 4 months ago 4.0.0 | CommonJS | Bundled | Authentication and authorisation, Cloud SDKs |
| react-apple-signin-auth Apple signin for React using the official Apple JS SDK | 44.4k | +31% | - | 3 months ago 1.2.1 | ESM + CommonJS | Bundled | Authentication and authorisation, React | |
| react-google-button [![NPM version][npm-image]][npm-url] [![Build Status][build-status-image]][build-status-url] [![Coverage][coverage-image]][coverage-url] [![License][license-image]][license-url] [![Code Style][code-style-image]][code-style-url] | 43.7k | +31% | - | 2 years ago 0.8.0 | ESM + CommonJS | Bundled | React, Authentication and authorisation | |
| @elysiajs/node Elysia adapter to run Elysia on Node.js | 43.6k | - | - | - | 7 months ago 1.4.5 | ESM + CommonJS | Bundled | Authentication and authorisation |
| @atproto-labs/handle-resolver Isomorphic ATProto handle to DID resolver | 43.5k | - | - | - | 14 days ago 0.4.9 | ESM only | Bundled | Authentication and authorisation |
| node-2fa Easy 2-Factor Integration For Node.js | 42k | +54% | - | 4 years ago 2.0.3 | CommonJS | Bundled | Authentication and authorisation | |
| @fastify/passport Simple, unobtrusive authentication for Fastify. | 41.9k | - | - | - | 2 days ago 4.0.3 | CommonJS | Bundled | Authentication and authorisation |
| @node-ntlm/core NTLM node utility function | 41.6k | - | - | - | 3 years ago 0.3.2 | CommonJS | Bundled | Authentication and authorisation |
| passport-unique-token Unique Token authentication strategy for Passport. | 40.9k | +138% | - | 5 years ago 3.0.0 | CommonJS | Bundled | Authentication and authorisation | |
| @atproto/oauth-types OAuth typing & validation library | 40.8k | - | - | - | 14 days ago 0.7.6 | ESM only | Bundled | Authentication and authorisation |
| @codetrix-studio/capacitor-google-auth Google Auth plugin for capacitor. | 40.4k | - | - | - | 2 years ago 3.4.0-rc.4 | CommonJS | Bundled | Authentication and authorisation |
| @hapi/basic Basic authentication plugin | 40.1k | - | - | - | 3 years ago 7.0.2 | CommonJS | Bundled | Authentication and authorisation |
| u2f-api Promisified U2F API for browsers | 39.5k | +32% | - | 5 years ago 1.2.1 | CommonJS | Bundled | Authentication and authorisation | |
| ng-otp-input A fully customizable, one-time password input component for the web built with Angular. | 38.8k | +2% | - | 5 months ago 2.0.10 | ESM + CommonJS | Bundled | Angular, Authentication and authorisation | |
| minecraft-protocol Parse and serialize minecraft packets, plus authentication and encryption. | 38.7k | +168% | - | 29 days ago 1.68.0 | CommonJS | Bundled | Authentication and authorisation | |
| otp-io 🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP | 38.6k | +544% | - | 1 year ago 1.2.7 | ESM + CommonJS | Bundled | Authentication and authorisation | |
| @atproto/oauth-client OAuth client for ATPROTO PDS. This package serves as common base for environment-specific implementations (NodeJS, Browser, React-Native). | 37.8k | - | - | - | 14 days ago 0.8.7 | ESM only | Bundled | Authentication and authorisation |
| @propelauth/node <p align="center"> <a href="https://www.propelauth.com?ref=github" target="_blank" align="center"> <img src="https://www.propelauth.com/imgs/lockup.svg" width="200"> </a> </p> | 37.4k | - | - | - | 1 month ago 2.1.36 | ESM + CommonJS | Bundled | Authentication and authorisation |
| yggdrasil Mojang authentication (Yggdrasil) client | 37.4k | +162% | - | 5 months ago 1.8.0 | CommonJS | None | Authentication and authorisation | |
| better-auth-harmony Validation and normalization for better-auth | 37k | +1036% | - | 5 months ago 1.3.2 | ESM + CommonJS | Bundled | Authentication and authorisation, Email | |
| @elysiajs/bearer Elysia Pplugin for retreiving Bearer token | 37k | - | - | - | 5 months ago 1.4.4 | ESM + CommonJS | Bundled | Authentication and authorisation |
| @okta/okta-angular Angular support for Okta | 36.1k | - | - | - | 3 months ago 8.0.0 | ESM only | Bundled | Authentication and authorisation |
| @stytch/nextjs Stytch's official Next.js Library | 36.1k | - | - | - | 13 days ago 22.3.0 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| @auth/sveltekit Authentication for SvelteKit. | 35.5k | - | - | - | 2 months ago 1.11.3 | ESM only | Bundled | Authentication and authorisation, Svelte |
| fido2-lib A library for performing FIDO 2.0 / WebAuthn functionality | 35.5k | +189% | - | 6 months ago 3.5.9 | ESM + CommonJS | Bundled | Authentication and authorisation | |
| connect-ensure-login Login session ensuring middleware for Connect. | 34.6k | +26% | - | 13 years ago 0.1.1 | CommonJS | None | Authentication and authorisation | |
| @axa-fr/oidc-client OpenID Connect & OAuth authentication using native javascript only, compatible with angular, react, vue, svelte, next, etc. | 33.8k | - | - | - | 5 days ago 7.29.6 | ESM + CommonJS | Bundled | Authentication and authorisation, React |
| @ankhorage/contracts Serializable app, action, theme, auth, and secret-store contracts for Ankhorage. | 33.8k | - | - | - | 1 day ago 22.8.2 | ESM only | Bundled | TypeScript tooling, Authentication and authorisation |
| remix-auth-totp A Time-Based One-Time Password (TOTP) Authentication Strategy for Remix-Auth. | 33.6k | +893% | - | 1 year ago 4.0.0 | ESM only | Bundled | Authentication and authorisation | |
| @atproto-labs/handle-resolver-node Node specific ATProto handle to DID resolver | 33.4k | - | - | - | 14 days ago 0.2.10 | ESM only | Bundled | Authentication and authorisation |
| @axa-fr/oidc-client-service-worker OpenID Connect & OAuth authentication service worker | 33.2k | - | - | - | 5 days ago 7.29.6 | ESM only | Bundled | Authentication and authorisation |
| @commercetools/sdk-middleware-auth Middleware for different authentication flows of commercetools platform API, to use with @commercetools/sdk-client | 32.6k | - | - | - | 1 year ago 8.0.1 | ESM + CommonJS | None | Authentication and authorisation |
| @aws/token-generator-for-aws-external-anthropic A lightweight library for generating short-term bearer tokens for AWS External Anthropic API authentication | 32.5k | - | - | - | 4 months ago 1.0.0 | CommonJS | Bundled | Authentication and authorisation, Cloud SDKs |
| @aws-amplify/amplify-category-auth amplify-cli authentication plugin | 32.3k | - | - | - | 4 months ago 3.7.28 | CommonJS | Bundled | Cloud SDKs, Authentication and authorisation |
| @auth/mongodb-adapter MongoDB adapter for Auth.js | 29.7k | - | - | - | 2 months ago 3.11.3 | ESM only | Bundled | Authentication and authorisation |
| react-auth-code-input One-time password (OTP) React input component, uncontrolled, zero dependencies, fully tested. | 28.9k | +7% | - | 4 years ago 3.2.1 | ESM + CommonJS | Bundled | Authentication and authorisation, React | |
| react-native-nitro-google-signin Google Sign-In and One Tap for React Native and Expo — OAuth 2.0 / OpenID Connect with Android Credential Manager and Google Sign-In SDK (iOS). Powered by Nitro Modules. | 28.9k | - | - | 6 days ago 2.3.0 | ESM + CommonJS | Bundled | Authentication and authorisation, React | |
| @atproto/oauth-client-node ATPROTO OAuth client for the NodeJS | 28.8k | - | - | - | 14 days ago 0.5.7 | ESM only | Bundled | Authentication and authorisation |
| @clerk/electron-passkeys Native passkey (WebAuthn) support for Clerk's Electron SDK | 28.7k | - | - | - | 3 months ago 0.0.3 | CommonJS | Bundled | Authentication and authorisation |
| scrypt The scrypt crypto library for NodeJS | 28.7k | -3% | - | 10 years ago 6.0.3 | - | None | Cryptography and hashing, Authentication and authorisation | |
| ag-auth Auth module for SocketCluster | 28.4k | -7% | - | 10 months ago 2.1.1 | CommonJS | None | Authentication and authorisation | |
| openid OpenID 1.1/2.0 library for Node.js | 28.1k | -31% | - | 16 days ago 2.0.18 | CommonJS | None | Authentication and authorisation | |
| passport-gitlab2 GitLab authentication strategy for Passport. | 28k | +11% | - | 7 years ago 5.0.0 | CommonJS | None | Authentication and authorisation | |
| @fastify/bearer-auth A Bearer authentication plugin for Fastify | 27.2k | - | - | - | 1 month ago 10.1.3 | 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.
- @epic-web/totpCreate and verify cryptographically secure Time-based One-time Passwords (TOTP) using the HMAC-based One-time Password (HOTP) algorithm.
- passport-twitterTwitter authentication strategy for Passport.
- @clerk/chrome-extensionClerk SDK for Chrome extensions
- passport-google-oauth2Passport strategy for Google OAuth 2.0
- accesscontrolRole and Attribute based Access Control for Node.js
- passport-twitch-strategyTwitch (OAuth) authentication strategies for Passport. v5
- @jm18457/kafkajs-msk-iam-authentication-mechanismAuthentication mechanism for AWS MSK IAM for KafkaJS.
- react-apple-signin-auth Apple signin for React using the official Apple JS SDK
- react-google-button[![NPM version][npm-image]][npm-url] [![Build Status][build-status-image]][build-status-url] [![Coverage][coverage-image]][coverage-url] [![License][license-image]][license-url] [![Code Style][code-style-image]][code-style-url]
- @elysiajs/nodeElysia adapter to run Elysia on Node.js
- @atproto-labs/handle-resolverIsomorphic ATProto handle to DID resolver
- node-2faEasy 2-Factor Integration For Node.js
- @fastify/passportSimple, unobtrusive authentication for Fastify.
- @node-ntlm/coreNTLM node utility function
- passport-unique-tokenUnique Token authentication strategy for Passport.
- @atproto/oauth-typesOAuth typing & validation library
- @codetrix-studio/capacitor-google-authGoogle Auth plugin for capacitor.
- @hapi/basicBasic authentication plugin
- u2f-apiPromisified U2F API for browsers
- ng-otp-inputA fully customizable, one-time password input component for the web built with Angular.
- minecraft-protocolParse and serialize minecraft packets, plus authentication and encryption.
- otp-io🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP
- @atproto/oauth-clientOAuth client for ATPROTO PDS. This package serves as common base for environment-specific implementations (NodeJS, Browser, React-Native).
- @propelauth/node<p align="center"> <a href="https://www.propelauth.com?ref=github" target="_blank" align="center"> <img src="https://www.propelauth.com/imgs/lockup.svg" width="200"> </a> </p>
- yggdrasilMojang authentication (Yggdrasil) client
- better-auth-harmonyValidation and normalization for better-auth
- @elysiajs/bearerElysia Pplugin for retreiving Bearer token
- @okta/okta-angularAngular support for Okta
- @stytch/nextjsStytch's official Next.js Library
- @auth/sveltekitAuthentication for SvelteKit.
- fido2-libA library for performing FIDO 2.0 / WebAuthn functionality
- connect-ensure-loginLogin session ensuring middleware for Connect.
- @axa-fr/oidc-clientOpenID Connect & OAuth authentication using native javascript only, compatible with angular, react, vue, svelte, next, etc.
- @ankhorage/contractsSerializable app, action, theme, auth, and secret-store contracts for Ankhorage.
- remix-auth-totpA Time-Based One-Time Password (TOTP) Authentication Strategy for Remix-Auth.
- @atproto-labs/handle-resolver-nodeNode specific ATProto handle to DID resolver
- @axa-fr/oidc-client-service-workerOpenID Connect & OAuth authentication service worker
- @commercetools/sdk-middleware-authMiddleware for different authentication flows of commercetools platform API, to use with @commercetools/sdk-client
- @aws/token-generator-for-aws-external-anthropicA lightweight library for generating short-term bearer tokens for AWS External Anthropic API authentication
- @aws-amplify/amplify-category-authamplify-cli authentication plugin
- @auth/mongodb-adapterMongoDB adapter for Auth.js
- react-auth-code-inputOne-time password (OTP) React input component, uncontrolled, zero dependencies, fully tested.
- react-native-nitro-google-signinGoogle Sign-In and One Tap for React Native and Expo — OAuth 2.0 / OpenID Connect with Android Credential Manager and Google Sign-In SDK (iOS). Powered by Nitro Modules.
- @atproto/oauth-client-nodeATPROTO OAuth client for the NodeJS
- @clerk/electron-passkeysNative passkey (WebAuthn) support for Clerk's Electron SDK
- scryptThe scrypt crypto library for NodeJS
- ag-authAuth module for SocketCluster
- openidOpenID 1.1/2.0 library for Node.js
- passport-gitlab2GitLab authentication strategy for Passport.
- @fastify/bearer-authA Bearer authentication plugin for Fastify