Package Exports
- simple-object-from-queries-string
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-object-from-queries-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Module Name
Returns an object, based on the url queries string.
Installation
npm i simple-object-from-queries-string -D
Usage
var getQueryStringObject = require( "simple-object-from-queries-string" ),
queryStringObject = getQueryStringObject();
If the URL looks like this:
http://myurl.com/sub/?foo=bar&test=3
The returned object will look like this:
{
'foo': 'bar',
'test': '3'
}
Note that no type conversion takes place.