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
socketio-jwt
authenticate socket.io connections using JWTs
5.5k-10%-6 years ago
4.6.2
CommonJSBundledAuthentication and authorisation, WebSockets and realtime
zxcvbn-typescript
realistic password strength estimation, updated and ported to Typescript from Dan Wheeler's zxcvbn
5.5k-32%-5 years ago
5.0.1
CommonJSBundledAuthentication and authorisation, Security
node-sp-auth
Unattended SharePoint http authentication with nodejs
5.5k-34%-1 year ago
3.0.9
CommonJSBundledAuthentication and authorisation, Node.js utilities
@castlenine/svelte-qrcode
QR Code generator component for Svelte & SvelteKit, with no dependencies
5.4k---1 year ago
2.3.0
ESM onlyBundledSvelte, Authentication and authorisation
google-oauth-jwt
Implementation of Google OAuth 2.0 for server-to-server interactions, allowing secure use of Google APIs without interaction from an end-user.
5.3k-15%-10 years ago
0.2.0
-NoneAuthentication and authorisation
@sagi.io/workers-jwt
Generate JWTs on Cloudflare Workers using the WebCrypto API
5.3k---2 years ago
0.0.26
CommonJSBundledAuthentication and authorisation, Cloud SDKs
passport-dropbox-oauth2
Dropbox OAuth 2.0 authentication strategy for Passport.
5.3k-57%-10 years ago
1.1.0
CommonJSNoneAuthentication and authorisation
@outlinewiki/passport-azure-ad-oauth2
Passport strategy for authenticating with Azure AD using the OAuth 2.0 protocol.
5.2k---5 years ago
0.1.0
CommonJSNoneAuthentication and authorisation
htpasswd
Node.js package for HTTP Basic Authentication password file utility.
5.2k-11%--
2.4.6
-NoneAuthentication and authorisation
passport-localapikey-update
Updated version of local api key authentication strategy for Passport originally created by Sudhakar Mani.
5.2k+142%-8 years ago
0.6.0
CommonJSNoneAuthentication and authorisation
@tinytars/frame
Domain-neutral Svelte app-shell: session/auth controllers, account chrome, and menu/card/modal primitives built on @tinytars/vault.
5.1k---1 day ago
0.1.51
ESM onlyNoneAuthentication and authorisation, Svelte
@oxy.so/core
OxyHQ SDK Foundation — API client, authentication, cryptographic identity, and shared utilities
5.1k---today
1.8.0
ESM + CommonJSBundledAuthentication and authorisation, Cryptography and hashing
expo-passkey
Passkey authentication for Expo apps with Better Auth integration
5.1k+2485%--
0.3.15
ESM + CommonJSBundledAuthentication and authorisation
role-acl
Role, Attribute and Condition based Access Control for Node.js
5.1k-22%-6 years ago
4.5.4
CommonJSBundledAuthentication and authorisation
@askalf/dario
Use your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, with automatic fa
5.1k---today
6.12.2
ESM onlyBundledAuthentication and authorisation, CLI tools and terminal utilities
pusher-js-auth
Pusher plugin for batching auth requests in one HTTP call
5k-46%-4 years ago
4.0.1
CommonJSBundledAuthentication and authorisation
@unisim/sdk
Shared React SDK for the Universal Suite — auth, entitlements, usage telemetry, changelog, org admin.
5k---6 days ago
0.155.0
ESM + CommonJSBundledAuthentication and authorisation, React
@stacksjs/auth
A more simplistic way to authenticate.
5k---today
0.74.68
ESM onlyBundledAuthentication and authorisation
remix-auth-okta
![CI](https://img.shields.io/github/actions/workflow/status/jrakotoharisoa/remix-auth-okta/main.yml?branch=main&style=flat-square) ![npm](https://img.shields.io/npm/v/remix-auth-okta?style=flat-square) # OktaStrategy
5k+0%-3 years ago
1.2.0
CommonJSBundledAuthentication and authorisation
@coji/remix-auth-google
<!-- Description -->
4.9k---1 year ago
4.2.0
ESM onlyBundledAuthentication and authorisation
passport-vkontakte
VK.com authentication strategy for Passport.
4.9k-17%-5 years ago
0.5.0
CommonJSNoneAuthentication and authorisation
2fa
TOTP + HOTP library, with nice utilities for handing 2FA
4.9k-64%-11 years ago
0.1.2
CommonJSNoneAuthentication and authorisation
@adobe/aio-lib-core-auth
Adobe I/O Core Authentication Library
4.9k---7 months ago
1.1.0
CommonJSBundledAuthentication and authorisation
react-auth-kit
Authentication Library for React, which makes Token based auth very easy
4.8k-15%-1 year ago
4.0.2-alpha.11
ESM + CommonJSBundledAuthentication and authorisation, React
socketio-auth
Authentication for socket.io
4.7k+46%-8 years ago
0.1.1
CommonJSNoneAuthentication and authorisation, WebSockets and realtime
nuxt-vue3-google-signin
[![Build](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml/badge.svg)](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml) [![npm](https://img.shields.io/npm/v/nuxt-vue3-google-signin)](https:/
4.6k+2%-1 year ago
0.0.13
ESM onlyNoneVue, Authentication and authorisation
@access-tokens/express
Express routes and middleware for personal access token authentication
4.6k---8 months ago
1.1.0
CommonJSBundledAuthentication and authorisation, HTTP servers and web frameworks
express-oauth-server
OAuth provider for express
4.6k+1%-9 years ago
2.0.0
CommonJSNoneAuthentication and authorisation
js-pkce
A package that makes using the OAuth2 PKCE flow easier
4.6k+28%-1 year ago
2.0.0
CommonJSBundledAuthentication and authorisation
passport-okta-oauth
Passport strategy for authenticating with Okta using OAuth 2.0.
4.6k+19%-9 years ago
0.0.1
CommonJSNoneAuthentication and authorisation
angular2-jwt
Helper library for handling JWTs in Angular 2+
4.6k-13%-9 years ago
0.2.3
CommonJSBundledAuthentication and authorisation, Angular
next-firebase-auth
Simple Firebase authentication for all Next.js rendering strategies
4.6k-24%-1 year ago
1.4.0
CommonJSBundledCloud SDKs, Authentication and authorisation
@workos/authkit-astro
Official WorkOS AuthKit SDK for Astro
4.5k---1 month ago
0.2.1
ESM onlyBundledAuthentication and authorisation
google-services-mcp
MCP server for Google consumer services — Gmail, Calendar, Meet, Drive, Contacts, Tasks, Sheets, Docs, Slides, YouTube, Forms — with multi-account OAuth support.
4.4k--3 days ago
0.1.30
ESM onlyBundledAuthentication and authorisation
@commercelayer/js-auth
A JavaScript library designed to simplify authentication when interacting with the Commerce Layer API.
4.4k---1 month ago
8.0.1
ESM + CommonJSBundledPayments and commerce, Authentication and authorisation
@blamejs/core
The Node framework that owns its stack.
4.4k---6 days ago
0.20.31
CommonJSNoneAuthentication and authorisation
@auth/upstash-redis-adapter
Upstash adapter for Auth.js.
4.4k---2 months ago
2.11.3
ESM onlyBundledAuthentication and authorisation
passport-google-token
Google token authentication strategy for Passport.
4.4k-20%-10 years ago
0.1.2
CommonJSNoneAuthentication and authorisation
node-ntlm-client
A node.js NTLM client with support for NTLM and NTLMv2 authentication
4.4k-33%--
0.1.2
CommonJSNoneAuthentication and authorisation
pouchdb-auth
A PouchDB plug-in that simulates CouchDB's authentication daemon. Includes a users db that functions like CouchDB's.
4.4k+60%-6 years ago
4.2.0
CommonJSNoneAuthentication and authorisation
@accounts/server
Fullstack authentication and accounts-management
4.3k---4 years ago
0.33.1
CommonJSBundledAuthentication and authorisation, GraphQL
@happyvertical/smrt-svelte
Svelte 5 components for SMRT user management - auth, users, tenants, roles, permissions, groups
4.3k---7 days ago
0.51.10
ESM onlyBundledAuthentication and authorisation, Svelte
@mcpjam/cli
Test, debug, and validate MCP servers — health checks, OAuth conformance, tool-surface diffing, and structured triage from the terminal or CI
4.3k---today
5.11.2
ESM onlyNoneCLI tools and terminal utilities, Authentication and authorisation
@dramaorg/delectus-culpa-reprehenderit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
4.3k---2 years ago
3.5.94
CommonJSNoneCLI tools and terminal utilities, Testing
git-workspace-service
Git workspace provisioning and credential management service with OAuth device flow authentication
4.3k--4 months ago
0.4.6
ESM + CommonJSBundledAuthentication and authorisation
react-native-fingerprint-scanner
React Native Biometrics Scanner for Android and iOS
4.3k-19%-6 years ago
6.0.0
CommonJSBundledAuthentication and authorisation, React
mask-sensitive-data
Mask sensitive data, eg. credit card numbers, phone numbers, emails, UUIDs, JWT tokens.
4.2k+650%-2 years ago
0.11.5
CommonJSBundledAuthentication and authorisation, Email
@constructive-io/express-context
Extractable Express middleware for Constructive tenant context — domain resolution, JWT auth, pgSettings, and withPgClient
4.2k---today
0.33.3
ESM + CommonJSBundledAuthentication and authorisation
hypertune
[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics, and app configuration. Built with full end-to-end type safety, Git-style version control and local, synchronous, in-memory flag evaluation. Op
4.2k-74%-10 months ago
2.10.1
CommonJSBundledInternationalisation, Authentication and authorisation
mcp-google-multi
Local MCP server for Google Workspace (Gmail, Drive, Calendar, Sheets, Docs, Contacts, Tasks, Meet, Search Console, +Forms/Chat/Admin) across multiple accounts — OAuth-only, encrypted token storage, deny-by-default writes.
4.2k--1 month ago
5.4.0
ESM onlyBundledAuthentication 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.

  • socketio-jwtauthenticate socket.io connections using JWTs
  • zxcvbn-typescriptrealistic password strength estimation, updated and ported to Typescript from Dan Wheeler's zxcvbn
  • node-sp-authUnattended SharePoint http authentication with nodejs
  • @castlenine/svelte-qrcodeQR Code generator component for Svelte & SvelteKit, with no dependencies
  • google-oauth-jwtImplementation of Google OAuth 2.0 for server-to-server interactions, allowing secure use of Google APIs without interaction from an end-user.
  • @sagi.io/workers-jwtGenerate JWTs on Cloudflare Workers using the WebCrypto API
  • passport-dropbox-oauth2Dropbox OAuth 2.0 authentication strategy for Passport.
  • @outlinewiki/passport-azure-ad-oauth2Passport strategy for authenticating with Azure AD using the OAuth 2.0 protocol.
  • htpasswdNode.js package for HTTP Basic Authentication password file utility.
  • passport-localapikey-updateUpdated version of local api key authentication strategy for Passport originally created by Sudhakar Mani.
  • @tinytars/frameDomain-neutral Svelte app-shell: session/auth controllers, account chrome, and menu/card/modal primitives built on @tinytars/vault.
  • @oxy.so/coreOxyHQ SDK Foundation — API client, authentication, cryptographic identity, and shared utilities
  • expo-passkeyPasskey authentication for Expo apps with Better Auth integration
  • role-aclRole, Attribute and Condition based Access Control for Node.js
  • @askalf/darioUse your Claude and ChatGPT subscriptions in Cursor, Cline, Aider, Claude Code and the Agent SDK — at subscription pricing, not per-token API bills. One local Anthropic + OpenAI-compatible endpoint: either plan answers either wire shape, with automatic fa
  • pusher-js-authPusher plugin for batching auth requests in one HTTP call
  • @unisim/sdkShared React SDK for the Universal Suite — auth, entitlements, usage telemetry, changelog, org admin.
  • @stacksjs/authA more simplistic way to authenticate.
  • remix-auth-okta![CI](https://img.shields.io/github/actions/workflow/status/jrakotoharisoa/remix-auth-okta/main.yml?branch=main&style=flat-square) ![npm](https://img.shields.io/npm/v/remix-auth-okta?style=flat-square) # OktaStrategy
  • @coji/remix-auth-google<!-- Description -->
  • passport-vkontakteVK.com authentication strategy for Passport.
  • 2faTOTP + HOTP library, with nice utilities for handing 2FA
  • @adobe/aio-lib-core-authAdobe I/O Core Authentication Library
  • react-auth-kitAuthentication Library for React, which makes Token based auth very easy
  • socketio-authAuthentication for socket.io
  • nuxt-vue3-google-signin[![Build](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml/badge.svg)](https://github.com/wavezync/nuxt-vue3-google-signin/actions/workflows/build.yaml) [![npm](https://img.shields.io/npm/v/nuxt-vue3-google-signin)](https:/
  • @access-tokens/expressExpress routes and middleware for personal access token authentication
  • express-oauth-serverOAuth provider for express
  • js-pkceA package that makes using the OAuth2 PKCE flow easier
  • passport-okta-oauthPassport strategy for authenticating with Okta using OAuth 2.0.
  • angular2-jwtHelper library for handling JWTs in Angular 2+
  • next-firebase-authSimple Firebase authentication for all Next.js rendering strategies
  • @workos/authkit-astroOfficial WorkOS AuthKit SDK for Astro
  • google-services-mcpMCP server for Google consumer services — Gmail, Calendar, Meet, Drive, Contacts, Tasks, Sheets, Docs, Slides, YouTube, Forms — with multi-account OAuth support.
  • @commercelayer/js-authA JavaScript library designed to simplify authentication when interacting with the Commerce Layer API.
  • @blamejs/coreThe Node framework that owns its stack.
  • @auth/upstash-redis-adapterUpstash adapter for Auth.js.
  • passport-google-tokenGoogle token authentication strategy for Passport.
  • node-ntlm-clientA node.js NTLM client with support for NTLM and NTLMv2 authentication
  • pouchdb-authA PouchDB plug-in that simulates CouchDB's authentication daemon. Includes a users db that functions like CouchDB's.
  • @accounts/serverFullstack authentication and accounts-management
  • @happyvertical/smrt-svelteSvelte 5 components for SMRT user management - auth, users, tenants, roles, permissions, groups
  • @mcpjam/cliTest, debug, and validate MCP servers — health checks, OAuth conformance, tool-surface diffing, and structured triage from the terminal or CI
  • @dramaorg/delectus-culpa-reprehenderit[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
  • git-workspace-serviceGit workspace provisioning and credential management service with OAuth device flow authentication
  • react-native-fingerprint-scannerReact Native Biometrics Scanner for Android and iOS
  • mask-sensitive-dataMask sensitive data, eg. credit card numbers, phone numbers, emails, UUIDs, JWT tokens.
  • @constructive-io/express-contextExtractable Express middleware for Constructive tenant context — domain resolution, JWT auth, pgSettings, and withPgClient
  • hypertune[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics, and app configuration. Built with full end-to-end type safety, Git-style version control and local, synchronous, in-memory flag evaluation. Op
  • mcp-google-multiLocal MCP server for Google Workspace (Gmail, Drive, Calendar, Sheets, Docs, Contacts, Tasks, Meet, Search Console, +Forms/Chat/Admin) across multiple accounts — OAuth-only, encrypted token storage, deny-by-default writes.