Skip to content

ministryotech/url-navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project provides simple functions for working with URLs.

var urlNavigator = require("url-navigator");

var protocol = urlNavigator.current.protocol();
var host = urlNavigator.current.host();
var url = urlNavigator.current.href();
var urlParameter = urlNavigator.current.urlParameter("search");

urlNavigator.go("http://www.google.co.uk");

urlNavigator.redirect("http://www.google.com");

var fishString = urlNavigator.getParameter("http://www.google.co.uk?name=keith&searh=fish&color=red", "search")

The Ministry of Technology Open Source Products

Welcome to The Ministry of Technology open source products. All open source Ministry of Technology products are distributed under the MIT License for maximum re-usability. Our other open source repositories can be found here...

Where can I get it?

You can download the package for this project from any of the following package managers...

Contribution guidelines

If you would like to contribute to the project, please contact me.

Who do I talk to?