1.0.0 • Published 8 years ago

express-url-mapper v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

express-url-mapper

It is use to navigate new url from old one. For example if we want to migrate our old application to new one then we have to migrate our old site url to new url so in this case we can use this module .

Dependence

  • node
  • express
  • querystring
  • Linux operating system

Installation Guide

Just run this command into your project directory.

npm install express-url-mapper

Some Guidelines

This module needs two parameters, first parameter is express instance and second is the list of the objects which have old, new url along with the redirection code. like:

[
{
oldUrl: "myApp/abc.html",
newUrl: 'myApp/xyz',
redirectionType: 301
}]

NPM

npm install express-url-mapper

Issue Tracking

It's open community, so all are welcome to contribute or open issue || suggestion || comments