Gathering detailed insights and metrics for @types/hapi-auth-basic
Gathering detailed insights and metrics for @types/hapi-auth-basic
Gathering detailed insights and metrics for @types/hapi-auth-basic
Gathering detailed insights and metrics for @types/hapi-auth-basic
The repository for high quality TypeScript type definitions.
npm install @types/hapi-auth-basic
Typescript
Module System
62.8
Supply Chain
71.7
Quality
75.7
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
123,563
Last Day
8
Last Week
25
Last Month
146
Last Year
2,731
NOASSERTION License
49,706 Stars
89,362 Commits
30,385 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 10, 2025
Latest Version
5.0.8
Package Id
@types/hapi-auth-basic@5.0.8
Unpacked Size
3.81 kB
Size
1.73 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-27.3%
8
Compared to previous day
Last Week
-24.2%
25
Compared to previous week
Last Month
-17%
146
Compared to previous month
Last Year
-52.4%
2,731
Compared to previous year
1
npm install --save @types/hapi-auth-basic
This package contains type definitions for hapi-auth-basic (https://github.com/hapijs/hapi-auth-basic).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi-auth-basic.
1import { Plugin, Request, ResponseToolkit } from "hapi"; 2 3declare namespace Basic { 4 interface ValidateCustomResponse { 5 response: any; 6 } 7 8 interface ValidateResponse { 9 isValid: boolean; 10 credentials?: any; 11 } 12 13 interface Validate { 14 ( 15 request: Request, 16 username: string, 17 password: string, 18 h: ResponseToolkit, 19 ): Promise<ValidateResponse | ValidateCustomResponse>; 20 } 21} 22 23declare var Basic: Plugin<{}>; 24 25export = Basic; 26
These definitions were written by AJP, and Rodrigo Saboya.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 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
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-05-05
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