Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

passport-local

Passport strategy for local username and password authentication.

Auth and security librariesNPM

GitHub

1. License

License from GitHub.

github.com/jaredhanson/passport-local

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What passport-local does

Passport strategy for local username and password authentication.

passport-local popularity

54 / 100
Gid Score, #1497 overall
2.8M
downloads a week, npm
2,753
GitHub stars
17
agent projects use it
passport-local: downloads per weeknpm, passport-local 2,835,692
passport-local: GitHub starsjaredhanson/passport-local 2,753

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How passport-local is used

  • passport-local is a dependency in 17 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 65 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is NextAuth.js (150 projects).
  • Projects that use it most often also use Passport.js (100.0%), Express (89.2%), express-session (83.1%).

By coding agent

11 projects, 0.5%
9 projects, 0.3%
7 projects, 0.2%

Often used with

In 100.0% of its projects
In 89.2% of its projects
In 83.1% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 78.5% of its projects
In 78.5% of its projects
In 78.5% of its projects

More about passport-local

Funding
  • GitHub Sponsors: https://github.com/jaredhanson
  • 7 GitHub sponsors

See all

More in Auth and security libraries

Alternatives

passport-local This page

MITGid 542.8M/wk

NextAuth.js

Complete open-source authentication solution designed for Next.js applications.

ISCGid 759.4M/wk

Better Auth

Comprehensive authentication framework for TypeScript with multiple strategies.

MITGid 7921.1M/wk

Clerk

Modern authentication and user management SDK for Next.js and React.

MITGid 624.1M/wk

Compare passport-local with another tool

Get started

Install it.

npm install passport-local

No step-by-step start for passport-local yet: we have not written its hand-checked card.