Express JS library for @koeroesi86/node-worker
Usage:
const { middleware } = require('@koeroesi86/node-worker-express');
const express = require('express');
const path = require('path');
const app = express();
app.use(middleware({ root: path.resolve('./public') }));
app.listen(80);
yarn install
yarn start
For all options see types.