Monorepo that includes several packages related to interactions (mainly fetching data for now) with supabase.
Allows using SWR with simple supabase queries.
npm i @edgarbarrantes/supabase-swrAllows fetching supabase data from the serverside getting the token from the api call. Useful for NextJS getServerSideProps.
npm i @edgarbarrantes/supabase-fetcherIncludes a fetcher function and helpers. Used by the other packages, might be useful if you want to build something with it, not recomended to be used inside a project.
npm i @edgarbarrantes/supabase-fetcher-helpersThe select parameter can receive either the column's name, or the table there is a relationship with, for example: chains(namespace,reference,name), where chains in the table the current table has a relationship with.