
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@types/argv
Advanced tools
TypeScript definitions for argv
npm install --save @types/argv
This package contains type definitions for argv (https://www.npmjs.com/package/argv).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/argv.
// argv module
type args = {
targets: string[];
options: { [key: string]: any };
};
type helpOption = {
name: string;
type: string;
short?: string | undefined;
description?: string | undefined;
example?: string | undefined;
};
type module = {
mod: string;
description: string;
options: { [key: string]: helpOption };
};
type typeFunction = (value: any, ...arglist: any[]) => any;
type argv = {
// Runs the arguments parser
run: (argv?: string[]) => args;
// Adding options to definitions list
option: (mod: helpOption | helpOption[]) => argv;
// Creating module
mod: (object: module | module[]) => argv;
// Creates custom type function
type: (name: string | { [key: string]: typeFunction }, callback?: typeFunction) => any;
// Setting version number, and auto setting version option
version: (v: string) => argv;
// Description setup
info: (mod: string, description?: module) => argv;
// Cleans out current options
clear: () => argv;
// Prints out the help doc
help: (mod?: string) => argv;
};
declare const argv: argv;
export = argv;
These definitions were written by Hookclaw.
FAQs
TypeScript definitions for argv
We found that @types/argv demonstrated a not healthy version release cadence and project activity because the last version was released 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.