Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@types/command-line-commands
Advanced tools
TypeScript definitions for command-line-commands
npm install --save @types/command-line-commands
This package contains type definitions for command-line-commands (https://github.com/75lb/command-line-commands).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-line-commands.
// Type definitions for command-line-commands 2.0.0
// Project: https://github.com/75lb/command-line-commands
// Definitions by: CzBuCHi <https://github.com/CzBuCHi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Parses the `argv` value supplied (or `process.argv` by default), extracting and returning the `command` and remainder of `argv`. The command will be the first value in the `argv` array unless it is an option (e.g. `--help`).
*
* @param {string|string[]} - One or more command strings, one of which the user must supply. Include `null` to represent "no command" (effectively making a command optional).
* @param [argv] {string[]} - An argv array, defaults to the global `process.argv` if not supplied.
* @returns {{ command: string, argv: string[] }}
* @throws `INVALID_COMMAND` - user supplied a command not specified in `commands`.
*/
declare function commandLineCommands(
commands: (string | null)[],
argv?: string[],
): { command: string | null; argv: string[] };
export = commandLineCommands;
These definitions were written by CzBuCHi.
FAQs
TypeScript definitions for command-line-commands
The npm package @types/command-line-commands receives a total of 497 weekly downloads. As such, @types/command-line-commands popularity was classified as not popular.
We found that @types/command-line-commands demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.