# file-command-parser

> commandParser get command with args from file or string

Latest version **0.0.1** (published 2012-07-14) · 0 weekly downloads

## Install

```sh
npm install file-command-parser
pnpm add file-command-parser
yarn add file-command-parser
bun add file-command-parser
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-07-14 |
| First published | 2012-07-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.2 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jakub Westfalewski |
| Maintainers | jwest |
| Keywords | parser, commands |

## Links

- npm: https://www.npmjs.com/package/file-command-parser
- Repository: https://github.com/jwest/commandParser
- npm.io page: https://npm.io/package/file-command-parser

## 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

- 0.0.1 (latest) — 2012-07-14

## README

commandParser
=============

Use for parse file with command.

Example
=======

script
------

	var CommandParser = require('commandParser');

	var commandParser = new CommandParser();
	commandParser.file('test');
	console.log(commandParser.parse());

input
-----

	command1 "arg1 test" arg2 arg3
	#comment
	command2 arg4 'temp lorem lipsum'
	 	command3
	 	command4
	 	command5 arg5 arg4 "arg6"

output
------

	[ [ 'command1', 'arg1 test', 'arg2', 'arg3' ],
	  false,
	  [ 'command2', 'arg4', 'temp lorem lipsum' ],
	  [ 'command3' ],
	  [ 'command4' ],
	  [ 'command5', 'arg5', 'arg4', 'arg6' ] ]

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