1.0.0 • Published 3 years ago

express-http-method-override v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

express-http-method-override

A middleware for overriding the HTTP method of an incoming POST request.

Installing

Install express-http-method-override using npm:

npm install --save express-http-method-override

Or yarn:

yarn add express-http-method-override

Using

import { HttpMethodOverrideMiddleware } from 'express-http-method-override';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);

  app.use(HttpMethodOverrideMiddleware);

  await app.listen(3000);
}

bootstrap().then();

License

MIT