Assuming that you have less than 1k keys```ts const { keys } = await env.KV.list(); const ips = new

Assuming that you have less than 1k keys
const { keys } = await env.KV.list();
const ips = new Set();
for(const { name } of keys) {
  ips.add(await env.KV.get(name));
}
console.log(Array.from(ips.values()));
Was this page helpful?