1.0.1 • Published 8 years ago

get-url-param v1.0.1

Weekly downloads
37
License
MIT
Repository
github
Last release
8 years ago

get-url-param

Install

Install with npm:

$ npm install get-url-param --save

<script />

You can simply include get-url-param like this:

<script src='[path of index.js]'></script>

Usage

var getURLParam=require("get-url-param");
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

License

MIT

1.0.1

8 years ago

1.0.0

8 years ago