Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Isomorphic JavaScript client for PostgREST.

License

NotificationsYou must be signed in to change notification settings

supabase/postgrest-js

Repository files navigation

BuildPackageLicense: MIT

Isomorphic JavaScript client forPostgREST. The goal of this library is to make an "ORM-like" restful interface.

Full documentation can be foundhere.

Quick start

Install

npm install @supabase/postgrest-js

Usage

import{PostgrestClient}from'@supabase/postgrest-js'constREST_URL='http://localhost:3000'constpostgrest=newPostgrestClient(REST_URL)

Customfetch implementation

postgrest-js uses thecross-fetch library to make HTTP requests, but an alternativefetch implementation can be provided as an option. This is most useful in environments wherecross-fetch is not compatible, for instance Cloudflare Workers:

import{PostgrestClient}from'@supabase/postgrest-js'constREST_URL='http://localhost:3000'constpostgrest=newPostgrestClient(REST_URL,{fetch:(...args)=>fetch(...args),})

License

This repo is licensed under MIT License.

Sponsors

We 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.

New Sponsor


[8]ページ先頭

©2009-2025 Movatter.jp