# node-cloparser

> Command Line Options Parser for Node.js

Latest version **0.0.1** (published 2016-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-cloparser
pnpm add node-cloparser
yarn add node-cloparser
bun add node-cloparser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-09-04 |
| First published | 2016-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | shimataro |
| Maintainers | shimataro |

## Links

- npm: https://www.npmjs.com/package/node-cloparser
- Repository: https://github.com/shimataro/node-cloparser
- Issues: https://github.com/shimataro/node-cloparser/issues
- npm.io page: https://npm.io/package/node-cloparser

## Recent versions

- 0.0.1 (latest) — 2016-09-04

## README

node-cloparser
======

Command Line Options Parser for Node.js

## Usage

test.js:
```javascript
var cloparser = require("node-cloparser");
var options = {
	a: false,
	b: true
};
var extras = cloparser(options);
console.log(options);
console.log(extras);
```

output:
```
$ node test.js
{ a: false, b: true }
[]

$ node test.js -a
{ a: true, b: true }
[]

$ node test.js -option
{ a: false, b: true, o: true, p: true, t: true, i: true, n: true }
[]

$ node test.js -opt -ion
{ a: false, b: true, o: true, p: true, t: true, i: true, n: true }
[]

$ node test.js -opt ion
{ a: false, b: true, o: true, p: true, t: true }
[ 'ion' ]

$ node test.js opt ion
{ a: false, b: true }
[ 'opt', 'ion' ]

$ node test.js -opt=ion
{ a: false, b: true, o: true, p: true, t: 'ion' }
[]
```

## Project page

http://github.com/shimataro/node-cloparser

## Release note

* 2016-09-04 *version 0.0.1*
	* First release.

---
_Source: https://npm.io/package/node-cloparser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
