{"id":13812203,"url":"https://github.com/supabase/postgrest-js","last_synced_at":"2025-05-12T13:26:47.508Z","repository":{"id":37101439,"uuid":"236425882","full_name":"supabase/postgrest-js","owner":"supabase","description":"Isomorphic JavaScript client for PostgREST.","archived":false,"fork":false,"pushed_at":"2025-04-21T14:32:10.000Z","size":2617,"stargazers_count":1147,"open_issues_count":75,"forks_count":160,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-05-08T11:22:52.608Z","etag":null,"topics":["postgrest","supabase"],"latest_commit_sha":null,"homepage":"https://supabase.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-01-27T05:32:19.000Z","updated_at":"2025-05-06T11:06:30.000Z","dependencies_parsed_at":"2024-11-05T19:18:07.719Z","dependency_job_id":"ada7ab0f-862c-4a15-8d96-a0206c09c379","html_url":"https://github.com/supabase/postgrest-js","commit_stats":{"total_commits":385,"total_committers":56,"mean_commits":6.875,"dds":0.6779220779220779,"last_synced_commit":"69afff9ef902cca8ed19bec3da2e445d3277b1d9"},"previous_names":[],"tags_count":136,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fpostgrest-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fpostgrest-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fpostgrest-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fpostgrest-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/postgrest-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253746874,"owners_count":21957649,"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":["postgrest","supabase"],"created_at":"2024-08-04T04:00:49.112Z","updated_at":"2025-05-12T13:26:47.484Z","avatar_url":"https://github.com/supabase.png","language":"TypeScript","funding_links":["https://github.com/sponsors/supabase"],"categories":["TypeScript","Postgrest"],"sub_categories":[],"readme":"# `postgrest-js`\n\n[![Build](https://github.com/supabase/postgrest-js/workflows/CI/badge.svg)](https://github.com/supabase/postgrest-js/actions?query=branch%3Amaster)\n[![Package](https://img.shields.io/npm/v/@supabase/postgrest-js)](https://www.npmjs.com/package/@supabase/postgrest-js)\n[![License: MIT](https://img.shields.io/npm/l/@supabase/postgrest-js)](#license)\n\nIsomorphic JavaScript client for [PostgREST](https://postgrest.org). The goal of this library is to make an \"ORM-like\" restful interface.\n\nFull documentation can be found [here](https://supabase.github.io/postgrest-js/v2).\n\n### Quick start\n\nInstall\n\n```bash\nnpm install @supabase/postgrest-js\n```\n\nUsage\n\n```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL)\n```\n\n- select(): https://supabase.com/docs/reference/javascript/select\n- insert(): https://supabase.com/docs/reference/javascript/insert\n- update(): https://supabase.com/docs/reference/javascript/update\n- delete(): https://supabase.com/docs/reference/javascript/delete\n\n#### Custom `fetch` implementation\n\n`postgrest-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests, but an alternative `fetch` implementation can be provided as an option. This is most useful in environments where `cross-fetch` is not compatible, for instance Cloudflare Workers:\n\n```js\nimport { PostgrestClient } from '@supabase/postgrest-js'\n\nconst REST_URL = 'http://localhost:3000'\nconst postgrest = new PostgrestClient(REST_URL, {\n  fetch: (...args) =\u003e fetch(...args),\n})\n```\n\n## License\n\nThis repo is licensed under MIT License.\n\n## Sponsors\n\nWe are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.\n\n[![New Sponsor](https://user-images.githubusercontent.com/10214025/90518111-e74bbb00-e198-11ea-8f88-c9e3c1aa4b5b.png)](https://github.com/sponsors/supabase)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fpostgrest-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Fpostgrest-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fpostgrest-js/lists"}