Gathering detailed insights and metrics for @types/nopt
Gathering detailed insights and metrics for @types/nopt
Gathering detailed insights and metrics for @types/nopt
Gathering detailed insights and metrics for @types/nopt
The repository for high quality TypeScript type definitions.
npm install @types/nopt
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,028 Stars
89,737 Commits
30,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 13, 2025
Latest Version
3.0.32
Package Id
@types/nopt@3.0.32
Unpacked Size
3.92 kB
Size
1.72 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/nopt
This package contains type definitions for nopt (https://github.com/npm/nopt).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nopt.
1interface CommandData { 2 [key: string]: string; 3} 4 5interface TypeDefs { 6 [key: string]: TypeInfo; 7} 8 9interface TypeInfo { 10 type: Object; 11 validate: (data: CommandData, k: string, val: string) => boolean; 12} 13 14declare namespace nopt { 15 export function clean(data: CommandData, types: FlagTypeMap, typeDefs?: TypeDefs): string; 16 export var typeDefs: TypeDefs; 17} 18 19interface FlagTypeMap { 20 [k: string]: Object; 21} 22 23interface ShortFlags { 24 [k: string]: string[] | string; 25} 26 27declare function nopt(types: FlagTypeMap, shorthands?: ShortFlags, args?: string[], slice?: number): OptionsParsed; 28 29interface OptionsParsed { 30 [k: string]: any; 31 argv: { 32 remain: string[]; 33 cooked: string[]; 34 original: string[]; 35 }; 36} 37 38export = nopt; 39
These definitions were written by jbondc.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
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-07-07
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