karg
option parser
Last updated 6 years ago by monsterkodi .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ npm install karg 
SYNC missed versions from official npm registry.

icon

karg

is the german word for meager, barren, sparse

karg

is also an option parser with meager features but simple setup and pretty output

meager features

does just the bare minimum:

  • automatic help generation
  • short and long option names
  • unnamed arguments
  • boolean toggle
  • dictionary output

simple setup

args = require('karg') """

scriptname
    additional  . ? unnamed arguments . **
    an-option   . ? some description  . = default
    boolean     . ? -b to turn it on  . = false
    switch      . ? -s to turn it off . = true
    invisible                         . = hidden
    
help
    some help
    
version       1.0.0

"""

pretty output

karg

npm package Build Status downloads

Current Tags

  • 1.26.0                                ...           latest (3 years ago)

60 Versions

  • 1.26.0                                ...           3 years ago
  • 1.25.0                                ...           3 years ago
  • 1.24.0                                ...           3 years ago
  • 1.23.0                                ...           4 years ago
  • 1.22.0                                ...           5 years ago
  • 1.21.0                                ...           5 years ago
  • 1.20.0                                ...           5 years ago
  • 1.19.0                                ...           5 years ago
  • 1.18.1                                ...           5 years ago
  • 1.18.0                                ...           5 years ago
  • 1.17.0                                ...           5 years ago
  • 1.16.0                                ...           5 years ago
  • 1.13.0                                ...           5 years ago
  • 1.12.0                                ...           5 years ago
  • 1.11.0                                ...           6 years ago
  • 1.10.0                                ...           6 years ago
  • 1.9.0                                ...           6 years ago
  • 1.8.0                                ...           6 years ago
  • 1.7.0                                ...           6 years ago
  • 1.6.0                                ...           6 years ago
  • 1.5.0                                ...           6 years ago
  • 1.4.0                                ...           6 years ago
  • 1.3.0                                ...           6 years ago
  • 1.1.2                                ...           7 years ago
  • 1.1.1                                ...           7 years ago
  • 1.0.10                                ...           8 years ago
  • 1.0.9                                ...           8 years ago
  • 1.0.8                                ...           8 years ago
  • 1.0.7                                ...           9 years ago
  • 1.0.6                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 0.3.2                                ...           9 years ago
  • 0.3.1                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.1.34                                ...           9 years ago
  • 0.1.33                                ...           9 years ago
  • 0.1.32                                ...           9 years ago
  • 0.1.31                                ...           9 years ago
  • 0.1.25                                ...           9 years ago
  • 0.1.23                                ...           9 years ago
  • 0.1.20                                ...           9 years ago
  • 0.1.19                                ...           9 years ago
  • 0.1.18                                ...           9 years ago
  • 0.1.17                                ...           9 years ago
  • 0.1.16                                ...           9 years ago
  • 0.1.15                                ...           9 years ago
  • 0.1.11                                ...           9 years ago
  • 0.1.10                                ...           9 years ago
  • 0.1.9                                ...           9 years ago
  • 0.1.8                                ...           9 years ago
  • 0.1.7                                ...           9 years ago
  • 0.1.6                                ...           9 years ago
  • 0.1.5                                ...           9 years ago
  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (2)
Dependents (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE