Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pure Argv Parser

An ultra-lightweight command-line argument parser for Node.js with no external dependencies.

Installation

npm install pure-argv-parser

Example Usage

const parseArgs = require('pure-argv-parser');
const args = parseArgs();
console.log(args);

Supported Formats

  • --key=value
  • --key value
  • -k value (short option)
  • --flag (boolean)
  • -f (short boolean flag)
  • command (positional args)

About

An ultra-lightweight command-line argument parser for Node.js with no external dependencies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages