Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacoblee93/string-arg-parser

Parse args in the form of "name=value"
https://github.com/jacoblee93/string-arg-parser

Last synced: 9 days ago
JSON representation

Parse args in the form of "name=value"

Awesome Lists containing this project

README

        

# README

Simple package that parses string arguments in the form of "name=value".

# Usage

```
const argParser = require('string-arg-parser');

let params = argParser.parse('argName=value argName2=value2');
console.log(params);
/**
{
argName: value,
argName2: value2
}
*/
```