@nhost/nhost-js
TypeScript icon, indicating that this package has built-in type declarations

3.0.11 • Public • Published

@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({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

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.

Package Sidebar

Install

npm i @nhost/nhost-js

Homepage

nhost.io

Weekly Downloads

3,838

Version

3.0.11

License

MIT

Unpacked Size

746 kB

Total Files

29

Last publish

Collaborators

  • nunopato