Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

217 B
Raw Blame
export const readFrom = async (cache, path) => {
  const data = await cache.get(path)
  return JSON.parse(data)
}

export const writeTo = async (cache, path, data) => {
  await cache.put(path, JSON.stringify(data))
}