🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More

@nhost/nhost-js

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nhost/nhost-js

Nhost JavaScript SDK

3.2.7
latest
Version published
Weekly downloads
3.5K
-28.72%
Maintainers
2
Weekly downloads
 
Created

@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.

FAQs

Package last updated on 08 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts