Skip to content

Commit

Permalink
fix: readme example code
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocastro committed May 5, 2021
1 parent 37166c7 commit e8aee60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install volatile-map
## Usage

```js
const VolatileMap = require('volatile-map');
const VolatileMap = require('volatile-map').default;

const cache = new VolatileMap(3000); // Values expire after 3 seconds

Expand Down

0 comments on commit e8aee60

Please sign in to comment.