Nomenclature Predictably Misunderstood

    redirekt

    1.1.0 • Public • Published

    redirekt Build Status

    A library that provides a simple lightweight method for redirecting http requests in your applications!

    Installation

    npm install redirekt

    Usage

    Use redirekt like this: redirekt(req, res, targetUrl)!

    var http = require('http');
    var redirekt = require('redirekt');
     
    var server = http.createServer(function (req, res) {
      redirekt(req, res, 'http://www.themostamazingwebsiteimaginable.com');
    });

    Install

    npm i redirekt

    DownloadsWeekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • danmakenoise