Skip to content

rdacquisto/get-query-param

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-query-param Build Status

Get a particular search query param from the current url or a specified url.

Installation

npm install --save bellmounte-get-query-param

Usage

const getQueryParam = require('bellmounte-get-query-param');

// http://example.com/test?test=true
getQueryParam('test');  // true
getQueryParam('test', 'test=false');  // false
getQueryParam('true');  // undefined

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published