@quetils/make
v1.0.4
Published
Make object to query string
Downloads
4
Maintainers
Readme
@quetils/make
Make query string to object
Install
# npm
npm i @quetils/make
# yarn
yarn add @quetils/make
Usage
const make = require('@quetils/make');
const url = 'localhost:8080/test?test1=1&test2=2';
console.log(make(url)); // { test1: 1, test2: 2 }