query-string-json

0.0.7 • Public • Published

Query String JSON

Build Status Coverage Status npm version

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!');
});

Package Sidebar

Install

npm i query-string-json

Weekly Downloads

0

Version

0.0.7

License

MIT

Last publish

Collaborators

  • mjhea0