Newborn Programming Monsters
Miss any of our Open RFC calls?Watch the recordings here! »

@alexcarpenter/querystring-to-object

1.1.1 • Public • Published

querystring-to-object

Convert a query string into an object

Installation

$ npm i @alexcarpenter/querystring-to-object

Usage

import querystringToObject from '@alexcarpenter/querystring-to-object';
 
const qs = '?page=2&size=10&total=200';
querystringToObject(qs); // { 'page': '2', 'size': '10', 'total': '200' }

License

MIT.

Install

npm i @alexcarpenter/querystring-to-object

DownloadsWeekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

4.44 kB

Total Files

6

Last publish

Collaborators

  • avatar