Provides basic url handling and allows to simply work with urls without juggling all the time with regular expressions. If the class is initialised without an url parameter, it will take the current URL.
bower install -S js-handy-url
npm install js-handy-url
You can simply use it like this: