get-url-parameter

1.0.0 • Public • Published

how to use

for example

let getUrlParameter = require('get-url-parameter');
let url = 'https://www.example.com?a=1&b=2&c=3';
getUrlParameter(url, 'a');  //1
getUrlParameter(url, 'b');  //2

Package Sidebar

Install

npm i get-url-parameter

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

856 B

Total Files

4

Last publish

Collaborators

  • thinking_yxf