diff --git a/express/README.md b/express/README.md index b2b9fd3..26f755a 100644 --- a/express/README.md +++ b/express/README.md @@ -13,8 +13,12 @@ npm install judoscale-express --save 2. Import and use the provided middleware: ```javascript +// ES6-style import: import judoscale from 'judoscale-express' +// Or if you use `require` for importing: +const judoscale = require('judoscale-express').default + // default configuration app.use(judoscale())