Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Postgrest Js | 819 | 50 | 9 days ago | 107 | November 22, 2023 | 98 | mit | TypeScript | ||
Isomorphic JavaScript client for PostgREST. | ||||||||||
Redux Api | 498 | 61 | 10 | 3 years ago | 71 | February 25, 2020 | 31 | mit | JavaScript | |
Flux REST API for redux infrastructure | ||||||||||
Fetch Plus | 116 | 33 | 14 | 3 years ago | 20 | November 21, 2016 | 30 | other | JavaScript | |
🐕 Fetch+ is a convenient Fetch API replacement with first-class middleware support. | ||||||||||
Ng2 Rest | 26 | 6 | 60 | 5 days ago | 304 | May 01, 2023 | TypeScript | |||
Isomorphic, simple, robust REST API library for Browser and NodeJS, ( ts / js ) apps | ||||||||||
Alterior | 10 | 1 | 8 | 3 months ago | 46 | February 16, 2022 | 8 | mit | TypeScript | |
Build HTTP services with this; a Typescript REST framework based on Express using decorators and Angular style dependency injection | ||||||||||
Ms Rest Azure Js | 9 | 37 | 179 | 6 months ago | 22 | February 02, 2021 | 2 | mit | TypeScript | |
Azure runtime for isomorphic javascript libraries generated by Autorest | ||||||||||
Client | 9 | 17 | 21 | 10 days ago | 34 | March 10, 2021 | 6 | mit | JavaScript | |
Isomorphic JS client for E-Com Plus REST APIs | ||||||||||
Documentation | 3 | 2 days ago | 1 | |||||||
postgrest-js
Isomorphic JavaScript client for PostgREST. The goal of this library is to make an "ORM-like" restful interface.
Full documentation can be found here.
Install
npm install @supabase/postgrest-js
Usage
import { PostgrestClient } from '@supabase/postgrest-js'
const REST_URL = 'http://localhost:3000'
const postgrest = new PostgrestClient(REST_URL)
fetch
implementationpostgrest-js
uses the 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:
import { PostgrestClient } from '@supabase/postgrest-js'
const REST_URL = 'http://localhost:3000'
const postgrest = new PostgrestClient(REST_URL, {
fetch: (...args) => fetch(...args),
})
This repo is licensed under MIT License.
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.