Skip to content

Commit

Permalink
add direct class import example
Browse files Browse the repository at this point in the history
  • Loading branch information
animir committed Jan 26, 2024
1 parent f4779ac commit de486fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ It uses **fixed window** as it is much faster than rolling window.

// ECMAScript
import { RateLimiterMemory } from "rate-limiter-flexible";
// or
import RateLimiterMemory from "rate-limiter-flexible/lib/RateLimiterMemory.js";
```

## Basic Example
Expand Down

0 comments on commit de486fd

Please sign in to comment.