gurlp
v1.1.4
Published
getUrlParam(URL,paramName)
Downloads
14
Readme
###Just a simple function!
function getUrlParam(url,name){
//todo
}
exports.getUrlParam=getUrlParam;
###demo
var gurlp=require("gurlp");
var url="http://www.baidu.com/s=?ie=UTF-8&wd=mustache";
console.log(gurlp.getUrlParam(url,"ie"));//UTF-8
console.log(gurlp.getUrlParam(url,"noexist"));//null