JSPM

  • Created
  • Published
  • Downloads 4991
  • Score
    100M100P100Q133872F
  • License MIT

Nhost JavaScript SDK

Package Exports

  • @nhost/nhost-js

Readme

@nhost/nhost-js

Nhost JavaScript SDK

npm npm license: MIT

Documentation

Reference documentation

Install

npm install @nhost/nhost-js

# or yarn
yarn add @nhost/nhost-js

Initialise

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

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

Features

GraphQL

Access Nhost GraphQL 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.