Skip to main content

Install

npm

Deno

Create database

Create a new redis database on upstash

Use it

See here for documentation on how to create a redis instance.
Here’s a complete nextjs example The limit method returns some more metadata that might be useful to you: