# passport-local — card for AI agents

Passport strategy for local username and password authentication.

Category: Auth and security libraries · npm package `passport-local` · latest version 1.0.0 (checked 2026-11-01)
Install: `npm install passport-local`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 54.3 (#1497 of all tools, 53 of 141 in its category)
- Used in 17 public projects set up for AI coding agents (0.3%)
- Downloads last week: 2,835,692 (as of 2026-11-24), +37.3% over 4 weeks
- GitHub stars: 2,753 (as of 2026-11-24)
- Last push: 2024-02-09

## Often used with
Passport.js 100.0%, Express 89.2%, express-session 83.1%, tsx 80.0%, Vite 80.0%, Class Variance Authority 78.5%

## Checked alternatives (same job)
- NextAuth.js: https://agentgid.com/tools/next-auth/agent.md
- Better Auth: https://agentgid.com/tools/better-auth/agent.md
- Clerk: https://agentgid.com/tools/clerk/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/passport-local/
- Repository: https://github.com/jaredhanson/passport-local

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
