Skip to content

Commit

Permalink
update Express installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlogic committed Jan 30, 2023
1 parent 8f261d7 commit 3ee6ce3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

1 comment on commit 3ee6ce3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for ./express

St.
Category Percentage Covered / Total
🔴 Statements 58.62% 17/29
🔴 Branches 42.86% 3/7
🟡 Functions 75% 6/8
🔴 Lines 58.62% 17/29

Test suite run success

17 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 3ee6ce3

Please sign in to comment.