New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cliopt

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cliopt

command line parser

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

cliopt

var cliopt = require('cliopt');
var parser = cliopt({
  test: {
    type: String,
    enum: ['aaa', 'bbb', 'ccc'],
    default: 'aaa'
  }
});

parser.use(clipot.pair());
parser.use(clipot.convert());

parser.parse(process.argv.slice(2), function (err) {
  if (err) {
    throw err;
  }
  //...
});

todo

  • 改進 use 匹配的部份

Keywords

cli

FAQs

Package last updated on 08 Sep 2013

Did you know?

Socket

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.

Install

Related posts