Server With Kill
This package can wrap a node server
so that it has an additional kill
method, which destroys connections immediately.
Installation
npm install server-with-kill
Example usage
const express = ;const transform = ; const app = ; const server = ;server;
See /example/index.ts
for a more advanced use case.