Gathering detailed insights and metrics for @developertheexplorer/expand
Gathering detailed insights and metrics for @developertheexplorer/expand
Gathering detailed insights and metrics for @developertheexplorer/expand
Gathering detailed insights and metrics for @developertheexplorer/expand
A collection of common interactive command line user interfaces.
npm install @developertheexplorer/expand
Typescript
Module System
Node Version
NPM Version
69.5
Supply Chain
85.4
Quality
75
Maintenance
100
Vulnerability
100
License
inquirer@12.7.0
Updated on Jul 01, 2025
@inquirer/prompts@7.6.0
Updated on Jul 01, 2025
@inquirer/input@4.2.0
Updated on Jul 01, 2025
inquirer@12.6.3
Updated on May 25, 2025
@inquirer/prompts@7.5.3
Updated on May 25, 2025
@inquirer/core@10.1.13
Updated on May 25, 2025
TypeScript (92.4%)
JavaScript (7.6%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
20,975 Stars
1,795 Commits
1,327 Forks
151 Watchers
12 Branches
213 Contributors
Updated on Jul 15, 2025
Latest Version
1.0.0
Package Id
@developertheexplorer/expand@1.0.0
Unpacked Size
8.04 kB
Size
2.93 kB
File Count
5
NPM Version
lerna/4.0.0/node@v16.14.2+arm64 (darwin)
Node Version
16.14.2
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
3
@inquirer/expand
Compact single select prompt. Every option is assigned a shortcut key, and selecting h
will expand all the choices and their descriptions.
1npm install @inquirer/expand 2 3yarn add @inquirer/expand
1import expand from '@inquirer/expand'; 2 3const answer = await expand({ 4 message: 'Conflict on file.js', 5 default: 'y', 6 choices: [ 7 { 8 key: 'y', 9 name: 'Overwrite', 10 value: 'overwrite', 11 }, 12 { 13 key: 'a', 14 name: 'Overwrite this one and all next', 15 value: 'overwrite_all', 16 }, 17 { 18 key: 'd', 19 name: 'Show diff', 20 value: 'diff', 21 }, 22 { 23 key: 'x', 24 name: 'Abort', 25 value: 'abort', 26 }, 27 ], 28});
Property | Type | Required | Description |
---|---|---|---|
message | string | yes | The question to ask |
choices | Array<{ key: string, name: string, value?: string }> | yes | Array of the different allowed choices. The h /help option is always provided by default |
default | string | no | Default choices to be selected. (value must be one of the choices key ) |
expanded | boolean | no | Expand the choices by default |
Copyright (c) 2022 Simon Boudrias (twitter: @vaxilart) Licensed under the MIT license.
No vulnerabilities found.
Reason
30 commit(s) and 19 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
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool detected but not run on all commits
Details
Reason
2 existing vulnerabilities detected
Details
Reason
Found 1/10 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-07-14
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