$ cnpm install parse-uri
Lightweight module for parsing an URI Based in Steven Levithan method.
$ npm install parse-uri --save
If you want to use in the browser (powered by Browserify):
$ bower install parse-uri --save
and later link in your HTML:
<script src="bower_components/parse-uri/dist/parse-uri.js"></script>
var parseUri = require('parse-uri')
parseUri('myURL')
Type: boolean
Default: false
Determinate if use loose or strict mode.
Loose mode deviates slightly from the official generic URI spec (RFC 3986)
MIT © Kiko Beats
Copyright 2013 - present © cnpmjs.org | Home |