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
digest-fetch
digest auth request plugin for fetch/node-fetch also support http basic auth authentication
1m+133%-3 years ago
3.1.1
ESM onlyBundledAuthentication and authorisation, HTTP clients
@walletconnect/relay-auth
Relay Client Authentication
996.9k---1 year ago
1.1.0
ESM + CommonJSBundledAuthentication and authorisation
@zxcvbn-ts/core
Realistic password strength estimation written in typescript
984.6k---1 month ago
4.2.0
ESM + CommonJSBundledAuthentication and authorisation, Security
jsrsasign
opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)
980.1k+105%-1 month ago
11.1.5
CommonJSNoneCryptography and hashing, Authentication and authorisation
@aws/bedrock-token-generator
A lightweight library for generating short-term bearer tokens for AWS Bedrock API authentication
979.4k---1 year ago
1.1.0
CommonJSBundledAuthentication and authorisation, Cloud SDKs
expo-local-authentication
Provides an API for FaceID and TouchID (iOS) or the Fingerprint API (Android) to authenticate the user with a face or fingerprint scan.
976.1k+443%-14 days ago
57.0.3
CommonJSBundledAuthentication and authorisation, React
@better-auth/oauth-provider
An oauth provider plugin for Better Auth
976.1k---today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@react-oauth/google
Google OAuth2 using Google Identity Services for React 🚀
972k---5 months ago
0.13.5
ESM + CommonJSBundledAuthentication and authorisation, React
aws-jwt-verify
Verify JSON Web Tokens (JWT) from Amazon Cognito and other IDPs
969.7k+151%-3 months ago
5.2.1
ESM + CommonJSBundledAuthentication and authorisation
@better-auth/passkey
Passkey plugin for Better Auth
956.7k---today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
jwk-to-pem
Convert a JSON Web Key to a PEM
924.2k+6%-1 year ago
2.0.7
CommonJSNoneAuthentication and authorisation, Node.js utilities
fast-jwt
Fast JSON Web Token implementation
885.3k+171%-21 days ago
6.3.3
CommonJSBundledAuthentication and authorisation
axios-ntlm
An NTLM auth extension to the Axios HTTP library
812.9k+83%-1 year ago
1.4.6
CommonJSBundledAuthentication and authorisation
mcp-remote
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
778.3k+2053%-4 days ago
0.14.3
ESM onlyNoneAuthentication and authorisation
@clerk/testing
Utilities to help you create E2E test suites for apps using Clerk
740.2k---today
2.2.39
ESM + CommonJSBundledAuthentication and authorisation, Testing
keycloak-js
A client-side JavaScript OpenID Connect library that can be used to secure web applications.
738.6k+52%-5 months ago
26.2.4
ESM onlyBundledAuthentication and authorisation
@clerk/localizations
Localizations for the Clerk components
724k---today
4.20.0
ESM + CommonJSBundledAuthentication and authorisation, React
express-basic-auth
Plug & play basic auth middleware for express
695.1k+72%-4 years ago
1.2.1
CommonJSBundledAuthentication and authorisation, HTTP servers and web frameworks
@react-native-google-signin/google-signin
Google sign in for your react native applications
685.4k---22 days ago
16.1.5
CommonJSBundledReact, Authentication and authorisation
@twurple/auth
Authenticate with Twitch and stop caring about refreshing tokens.
665.4k---12 days ago
8.2.0
ESM onlyBundledAuthentication and authorisation
@better-auth/api-key
API Key plugin for Better Auth.
662.3k---today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@better-auth/expo
Better Auth integration for Expo and React Native applications.
644.6k---today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
speakeasy
Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.
636.7k+28%-10 years ago
2.0.0
CommonJSNoneAuthentication and authorisation
@fastify/jwt
JWT utils for Fastify
605.9k---1 month ago
10.2.2
CommonJSBundledAuthentication and authorisation
@auth/prisma-adapter
Prisma adapter for Auth.js
591.1k---2 months ago
2.11.3
ESM onlyBundledAuthentication and authorisation
@better-auth/sso
SSO plugin for Better Auth
560.9k---today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
node-oauth1
A fork of Netflix's implementation of the OAuth1 protocol
492.6k-19%-6 years ago
1.3.0
CommonJSNoneAuthentication and authorisation
njwt
JWT Library for Node.js
483.9k+46%-2 years ago
2.0.1
CommonJSBundledAuthentication and authorisation
react-oidc-context
OpenID Connect & OAuth2 authentication using react context api as state management
475.7k+165%-6 months ago
3.3.1
ESM + CommonJSBundledAuthentication and authorisation, React
http-auth
Node.js package for HTTP basic and digest access authentication.
453.7k-8%-1 year ago
4.2.1
CommonJSNoneAuthentication and authorisation
@lovable.dev/cloud-auth-js
Lovable legacy OAuth broker JS
452.9k---18 days ago
1.2.1
ESM + CommonJSBundledAuthentication and authorisation
msal
Microsoft Authentication Library for js
431.4k+104%-3 years ago
1.4.18
ESM + CommonJSBundledAuthentication and authorisation
@shopify/shopify-api
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
428.3k---7 days ago
15.0.0
ESM + CommonJSBundledAuthentication and authorisation, GraphQL
passport-custom
Custom authentication strategy for Passport.
405k+68%-2 months ago
1.2.1
CommonJSBundledAuthentication and authorisation
@clerk/themes
Themes for the Clerk auth components
365k---6 months ago
2.4.57
ESM + CommonJSBundledAuthentication and authorisation, React
@descope/core-js-sdk
Descope JavaScript core SDK
360.6k---8 days ago
2.73.0
ESM + CommonJSBundledAuthentication and authorisation
@bacons/apple-targets
Generate Apple Targets with Expo Prebuild
359.2k---2 months ago
5.0.0
CommonJSBundledAuthentication and authorisation, React
http-auth-connect
Connect framework integration with http-auth module.
335.7k-8%-4 years ago
1.0.6
CommonJSNoneAuthentication and authorisation
auth
The CLI for Better Auth
290k+3848%-today
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
digest-header
Digest access authentication header helper
280.2k+12%-3 years ago
1.1.0
CommonJSNoneAuthentication and authorisation
kerberos
Kerberos library for Node.js
278k+97%-10 months ago
7.0.0
CommonJSBundledAuthentication and authorisation
@clerk/ui
Internal package that contains the UI components for the Clerk frontend SDKs
267.6k---today
1.36.0
ESM + CommonJSBundledAuthentication and authorisation, React
totp-generator
Generate TOTP tokens from key
264.7k+14%-8 months ago
2.0.1
ESM + CommonJSBundledAuthentication and authorisation
@clerk/express
Clerk server SDK for usage with Express
252.3k---today
2.1.72
ESM + CommonJSBundledAuthentication and authorisation, HTTP servers and web frameworks
@urql/exchange-auth
An exchange for managing authentication and token refresh in urql
245.4k---1 year ago
3.0.0
ESM + CommonJSBundledAuthentication and authorisation, GraphQL
jwt-simple
JWT(JSON Web Token) encode and decode module
241.3k-4%--
0.5.6
CommonJSBundledAuthentication and authorisation
@okta/jwt-verifier
Easily validate Okta access tokens
240.4k---1 year ago
4.0.2
CommonJSBundledAuthentication and authorisation
passport-facebook
Facebook authentication strategy for Passport.
240.3k+15%-7 years ago
3.0.0
CommonJSNoneAuthentication and authorisation
express-oauth2-jwt-bearer
Authentication middleware for Express.js that validates JWT bearer access tokens.
239.1k+105%--
1.10.0
CommonJSBundledAuthentication and authorisation
passport-http
HTTP Basic and Digest authentication strategies for Passport.
236.3k+46%-11 years ago
0.3.0
CommonJSNoneAuthentication 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.