Skip to content

Commit

Permalink
add .count() to README
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshaf committed Nov 16, 2024
1 parent b11642e commit d1cfc66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ console.log(token); // Outputs: 'value'
// Remove an item
await cache.removeItem('key');

// Count stored chunks
const totalChunks = await cache.count();

// Clears all items from cache
cache.clear();

Expand Down

0 comments on commit d1cfc66

Please sign in to comment.