Get a particular search query param from the current url or a specified url.
npm install --save bellmounte-get-query-param
const getQueryParam = require('bellmounte-get-query-param');
// http://example.com/test?test=true
getQueryParam('test'); // true
getQueryParam('test', 'test=false'); // false
getQueryParam('true'); // undefined
MIT