@not-govuk/express-adapter v0.16.2
NotGovUK - Express-Adapter
Adapts to Express middleware to run on Restify.
This is probably far from perfect, but it works sufficiently for my purposes.
Using this package
First install the package into your project:
npm install -S @not-govuk/express-adapterThen use it in your code as follows:
import { adapt } from '@not-govuk/express-adapter';
import { someExpressMiddleware } from '@someone/something;
import { restifyServer } from './my-server.js';
const restifyMiddleware = adapt(someExpressMiddleware);
restifyServer.use(restifyMiddleware);
[...]Working on this package
Before working on this package you must install its dependencies using the following command:
pnpm installBuilding
Build the package by compiling the source code.
npm run buildClean-up
Remove any previously built files.
npm run clean9 months ago
9 months ago
9 months ago
8 months ago
8 months ago
7 months ago
12 months ago
11 months ago
11 months ago
10 months ago
6 months ago
5 months ago
5 months ago
7 months ago
6 months ago
6 months ago
7 months ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago