lol-key-val-parser
v1.0.2
Published
Simple key value parser
Downloads
8
Readme
keyValueParser
The name is like that because I didn't get the name without lol
install
npm install lol-key-value-parser
#using
const { keyValParser } = require('lol-key-value-parser');
const args = 'key1=val1&key2=val2';
console.log(keyValParser(args));
/*
{
key1: 'val1',
key2: 'val2'
}
*/