This package is now part of our monorepo
npm install @nhost/nhost-js
# or yarn
yarn add @nhost/nhost-js
import { NhostClient } from '@nhost/nhost-js';
const nhost = new NhostClient({
backendUrl: 'https://xxx.nhost.run',
});Access Nhost Auth methods using nhost.graphql.
Access Nhost Auth methods using nhost.auth.
Access Nhost Storage methods using nhost.storage.
Access Nhost Functions methods via nhost.functions.