Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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"
- Host: GitHub
- URL: https://github.com/jacoblee93/string-arg-parser
- Owner: jacoblee93
- Created: 2019-08-08T18:15:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T19:29:12.000Z (about 5 years ago)
- Last Synced: 2024-10-21T09:00:09.030Z (18 days ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
*/
```