swork-claim-clients
swork-claim-clients is a swork middleware designed to take immediate control of any connected clients. It is built with TypeScript and async methods.
License
MIT
Installation
npm install swork-claim-clients
yarn add swork-claim-clients
Example
import { Swork } from "swork";
import { claimClients } from "swork-claim-clients";
const app = new Swork();
app.use(claimClients());
app.listen();
Contact
If you are using swork or any of its related middlewares, please let me know on gitter. I am always looking for feedback or additional middleware ideas.