How to use the js function from urijs

Find comprehensive JavaScript urijs.js code examples handpicked from public code repositorys.

99
100
101
102
103
104
105
106
107
### Node.js and NPM ###

Install with `npm install urijs` or add `"urijs"` to the dependencies in your `package.json`.

```javascript
// load URI.js
var URI = require('urijs');
// load an optional module (e.g. URITemplate)
var URITemplate = require('urijs/src/URITemplate');
fork icon512
star icon0
watch icon1