0.1.0 • Published 7 years ago
queryparam v0.1.0
queryparam
Install
npm install queryparam
Usage
const queryparam = require('queryparam');
const fooParams = queryparam('foo', 'http://www.example.com?foo=bar&foo=baz'); // [ 'bar', 'baz' ]
API
queryparam(param, url?)
Returns the query params that matches the param
parameter in an array.
License
MIT
0.1.0
7 years ago