Neologistic Paraphasic Mumbling
    Have ideas to improve npm?Join in the discussion! »

    servie-redirect
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    Servie Redirect

    NPM version NPM downloads Build status Test coverage

    Simple URL redirection for Servie - thin layer for creating a Response with body and status code.

    Installation

    npm install servie-redirect --save
    

    Usage

    import { redirect } from "servie-redirect";
     
    function handle(req) {
      return redirect(req, "/goto");
    }

    TypeScript

    This project is written using TypeScript and publishes the definitions directly to NPM.

    License

    Apache 2.0

    Install

    npm i servie-redirect

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    Apache-2.0

    Unpacked Size

    7.57 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar