restify-de-next-ify
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

restify-de-next-ify

Wrap legacy next-Based Restify handlers in a v9+ async wrapper

Tiny wrapper to help with the Restify 8to9 transition, wrapping a classic v8 and below handler in a v9 / async handler.

Usage

import { RestifyDeNextify } from "restify-de-next-ify";
import { v8Handler } from "my-app/handler";

const v9Middleware = RestifyDeNextify(v8Handler);

/restify-de-next-ify/

    Package Sidebar

    Install

    npm i restify-de-next-ify

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    23.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • pinko-fowle