query-string-json
v0.0.7
Published
Parse and convert URL query strings to JSON
Downloads
1
Maintainers
Readme
Query String JSON
Parse and convert URL query strings to JSON
Install
$ npm install query-string-json
Usage
const parser = require('query-string-json');
const arr = [
'https://foo.bar?some=params&over=here',
'https://foo.bar?some=test'
];
const file = '_sample.json';
parser.convert(arr, file, (err, res) => {
if (!err) console.log('success!');
});