# ee-argv

> A simple commandline arguments parser

Latest version **1.0.2** (published 2016-02-02) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ee-argv
pnpm add ee-argv
yarn add ee-argv
bun add ee-argv
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-02-02 |
| First published | 2013-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.1 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Michael van der Weg |
| Maintainers | ee |
| Keywords | argv, commandline, parser |

## Links

- npm: https://www.npmjs.com/package/ee-argv
- Repository: https://github.com/eventEmitter/ee-argv
- Issues: https://github.com/eventEmitter/ee-argv/issues
- npm.io page: https://npm.io/package/ee-argv

## Dependencies (1)

- [ee-log](https://npm.io/package/ee-log.md) 0.3.x

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-02-02
- 1.0.1 — 2016-02-01
- 1.0.0 — 2016-02-01
- 0.1.4 — 2015-05-24
- 0.1.3 — 2014-04-30
- 0.1.2 — 2014-04-29
- 0.1.1 — 2014-04-29
- 0.1.0 — 2013-06-08

## README

# ee-argv

A simple and fast commandline arguments parser

## installation

	npm install ee-argv


## build status

[![Build Status](https://travis-ci.org/eventEmitter/ee-argv.png?branch=master)](https://travis-ci.org/eventEmitter/ee-arguments)


## usage

You may start your node app using arguments using one of the formats described below:

- --key=value
- --key or
- --key value
	

	// node . --port=2345 --trace-http-request --debug sql queries

	var argv = require( "ee-argv" );

	argv.has( "trace-http-request" );  	// true
	argv.get( "port" ); 				// "2345"
	argv.has( "port" ); 				// true
	argv.get( "debug" ); 				// sql queries

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