diff --git a/README.md b/README.md index 2ad681a0..ace6e5fa 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,12 @@ npm install express-openapi-validator const OpenApiValidator = require('express-openapi-validator'); ``` +or + +```javascript +import * as OpenApiValidator from 'express-openapi-validator'; +``` + 2. Install the middleware ```javascript