get-params-from-url
v1.0.9
Published
``` js npm install --save get-params-from-url ```
Downloads
21
Readme
install:
npm install --save get-params-from-url
usage:
var getParamFromUrl = require('get-params-from-url')
var name = getParamFromUrl('name', 'http://wiki.xxx.com?pageId=853227&name=jack&passwd=123456')
console.log(name)