Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Latest commit

 

History

History
62 lines (40 loc) · 1.17 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.17 KB

Disclaimer

This package is now part of our monorepo


@nhost/nhost-js

Nhost JavaScript SDK

npm npm license: MIT code style: prettier

Get Started

Install

npm install @nhost/nhost-js
# or yarn
yarn add @nhost/nhost-js

Initialize

import { NhostClient } from '@nhost/nhost-js';

const nhost = new NhostClient({
  backendUrl: 'https://xxx.nhost.run',
});

Features

GraphQL

Access Nhost Auth methods using nhost.graphql.

Authentication

Access Nhost Auth methods using nhost.auth.

Storage

Access Nhost Storage methods using nhost.storage.

Functions

Access Nhost Functions methods via nhost.functions.

Documentation

Coming soon