Gathering detailed insights and metrics for @types/passport-local
Gathering detailed insights and metrics for @types/passport-local
Gathering detailed insights and metrics for @types/passport-local
Gathering detailed insights and metrics for @types/passport-local
The repository for high quality TypeScript type definitions.
npm install @types/passport-local
Typescript
Module System
99.4
Supply Chain
83.9
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
71,010,000
Last Day
52,092
Last Week
655,163
Last Month
2,791,505
Last Year
22,126,508
NOASSERTION License
49,994 Stars
89,688 Commits
30,436 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 03, 2025
Latest Version
1.0.38
Package Id
@types/passport-local@1.0.38
Unpacked Size
5.28 kB
Size
1.88 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
2.3%
52,092
Compared to previous day
Last Week
-3.6%
655,163
Compared to previous week
Last Month
8%
2,791,505
Compared to previous month
Last Year
27.9%
22,126,508
Compared to previous year
npm install --save @types/passport-local
This package contains type definitions for passport-local (https://github.com/jaredhanson/passport-local).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-local.
1/// <reference types="passport"/> 2 3import { Strategy as PassportStrategy } from "passport-strategy"; 4import express = require("express"); 5 6interface IStrategyOptions { 7 usernameField?: string | undefined; 8 passwordField?: string | undefined; 9 session?: boolean | undefined; 10 passReqToCallback?: false | undefined; 11} 12 13interface IStrategyOptionsWithRequest { 14 usernameField?: string | undefined; 15 passwordField?: string | undefined; 16 session?: boolean | undefined; 17 passReqToCallback: true; 18} 19 20interface IVerifyOptions { 21 message: string; 22} 23 24interface VerifyFunctionWithRequest { 25 ( 26 req: express.Request, 27 username: string, 28 password: string, 29 done: (error: any, user?: Express.User | false, options?: IVerifyOptions) => void, 30 ): void; 31} 32 33interface VerifyFunction { 34 ( 35 username: string, 36 password: string, 37 done: (error: any, user?: Express.User | false, options?: IVerifyOptions) => void, 38 ): void; 39} 40 41declare class Strategy extends PassportStrategy { 42 constructor(options: IStrategyOptionsWithRequest, verify: VerifyFunctionWithRequest); 43 constructor(options: IStrategyOptions, verify: VerifyFunction); 44 constructor(verify: VerifyFunction); 45 46 name: string; 47} 48
These definitions were written by Maxime LUCE.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More