{"id":14968982,"url":"https://github.com/edgarbarrantes/supabase-utils","last_synced_at":"2025-10-26T06:30:55.695Z","repository":{"id":48010347,"uuid":"393709236","full_name":"EdgarBarrantes/supabase-utils","owner":"EdgarBarrantes","description":"SWR wrapper, serverside fetcher and utils for Supabase","archived":false,"fork":false,"pushed_at":"2021-08-12T23:23:37.000Z","size":379,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T19:52:20.384Z","etag":null,"topics":["hooks","nextjs","react","react-hooks","supabase","swr"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@edgarbarrantes/supabase-swr","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdgarBarrantes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-07T14:43:14.000Z","updated_at":"2023-12-01T05:30:14.000Z","dependencies_parsed_at":"2022-08-12T16:40:18.243Z","dependency_job_id":null,"html_url":"https://github.com/EdgarBarrantes/supabase-utils","commit_stats":null,"previous_names":["edgarbarrantes/supabase-swr"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgarBarrantes%2Fsupabase-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgarBarrantes%2Fsupabase-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgarBarrantes%2Fsupabase-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgarBarrantes%2Fsupabase-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgarBarrantes","download_url":"https://codeload.github.com/EdgarBarrantes/supabase-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238275963,"owners_count":19445321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hooks","nextjs","react","react-hooks","supabase","swr"],"created_at":"2024-09-24T13:40:54.223Z","updated_at":"2025-10-26T06:30:55.261Z","avatar_url":"https://github.com/EdgarBarrantes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supabase utilities for consuming data\n\nMonorepo that includes several packages related to interactions (mainly fetching data for now) with supabase.\n\n### Supabase SWR\n\nAllows using [SWR](https://swr.vercel.app/) with simple supabase queries.\n\n[Examples](https://github.com/EdgarBarrantes/supabase-utils/blob/master/packages/supabase-swr/README.md)\n\n#### Instalation\n\n```bash\nnpm i @edgarbarrantes/supabase-swr\n```\n\n### Supabase fetcher\n\nAllows fetching supabase data from the serverside getting the token from the api call. Useful for NextJS getServerSideProps.\n\n[Examples](https://github.com/EdgarBarrantes/supabase-utils/blob/master/packages/supabase-fetcher/README.md)\n\n#### Installation\n\n```bash\nnpm i @edgarbarrantes/supabase-fetcher\n```\n\n### Supabase fetcher helpers\n\nIncludes 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.\n\n[Examples](https://github.com/EdgarBarrantes/supabase-utils/blob/master/packages/supabase-fetcher-helpers/README.md)\n\n#### Instalation\n\n```bash\nnpm i @edgarbarrantes/supabase-fetcher-helpers\n```\n\n## Notes\n\nThe `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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarbarrantes%2Fsupabase-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgarbarrantes%2Fsupabase-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarbarrantes%2Fsupabase-utils/lists"}