
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
node cli arguments parser
npm install arg-parser
test.js
import Args from 'arg-parser';
const args = new Args(
'ArgParserTester',
'1.0',
'NodeJS arg-parser module tester',
'In addition to these parameters - more info here...'
);
args.add({ name: 'input', desc: 'input file', switches: [ '-i', '--input-file'], value: 'file' });
args.add({ name: 'output', desc: 'output file', switches: [ '-o', '--output-file'], value: 'file' });
args.add({ name: 'quiet', desc: 'quiet mode', switches: [ '-q', '--quiet'] });
args.add({ name: 'verbose', desc: 'verbose mode', switches: [ '-V', '--verbose'] });
args.add({ name: 'text', desc: 'text to store', required: true });
if (args.parse()) console.log(args.params);
Run test.js
node test.js -h
Output
NodeJS arg-parser module tester
usage: test [options] <text>
<text> text to store
-V, --verbose verbose mode
-h, --help display help & usage
-i, --input-file=FILE input file
-o, --output-file=FILE output file
-q, --quiet quiet mode
-v, --version display cli name & version
In addition to these parameters - more info here...
FAQs
node cli arguments parser
The npm package arg-parser receives a total of 787 weekly downloads. As such, arg-parser popularity was classified as not popular.
We found that arg-parser 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.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.