/uri

Parse the given URL location string into object.

Primary LanguageJavaScriptOtherNOASSERTION

URL string handler

build status npm version dependencies status devDependencies status Gitter RunKit

Module to parse location URLs.

Installation

npm install cjs-uri

Usage

Add to the scope:

var parse = require('cjs-uri').parse;

Parse current location:

console.log(parse(document.location.href));

Contribution

If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.

License

cjs-uri is released under the MIT License.