url-querystring
Split an url into a qs
and url
component. Also unwraps the qs
component
by calling querystring.parse
under the hood.
Installation
npm install url-querystring
Usage
var extract = ;var qs = ; var res = ;// => '{// url: 'http://foobar.com/hello',// qs: {// tab: hello,// method: something// }// }' qs;// => {tab: hello, method: something}