https://github.com/jacoblee93/string-arg-parser
Parse args in the form of "name=value"
https://github.com/jacoblee93/string-arg-parser
Last synced: 3 months 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T19:29:12.000Z (almost 6 years ago)
- Last Synced: 2025-03-29T23:32:37.927Z (3 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- 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
}
*/
```