Skip to content

Commit

Permalink
fix typo in readme
Browse files Browse the repository at this point in the history
PR-URL: #166
Credit: @mikeybyker
Close: #166
Reviewed-by: @isaacs
  • Loading branch information
mikeybyker authored and isaacs committed Feb 8, 2022
1 parent c98f201 commit b77d8e9
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 @@ -122,7 +122,7 @@ If you put more stuff in it, then items will fall out.
* `sizeCalculation` - Function used to calculate the size of stored
items. If you're storing strings or buffers, then you probably want to
do something like `n => n.length`. The item is passed as the first
argument, and the key is passed as the second argumnet.
argument, and the key is passed as the second argument.

This may be overridden by passing an options object to `cache.set()`.

Expand Down

0 comments on commit b77d8e9

Please sign in to comment.