Client module for grabbing query parameters by name from the URL.
JavaScript
Switch branches/tags
Nothing to show
Latest commit 20f1b32 Sep 13, 2013 @HenrikJoreteg first commit
Permalink
Failed to load latest commit information.
.gitignore
README.md first commit Sep 13, 2013
package.json first commit Sep 13, 2013
query-param-getter.js

README.md

query-param-getter

Client module for grabbing query parameters by name from the URL. Result is purposely not cached since URL can change.

CommonJS module for the client designed for use with browserify.

install

npm install query-param-getter

example

var queryGetter = require('query-param-getter');

// returns string or `undefined` if not found.
var result = queryGetter('nameOfParam');

license

MIT