auth-jsAn isomorphic JavaScript client library for the Khulnasoft Auth API.
auth-js: https://khulnasoft.com/docs/reference/javascript/auth-signupInstall
npm install --save @khulnasoft/auth-js
Usage
import { AuthClient } from '@khulnasoft/auth-js'
const GOTRUE_URL = 'http://localhost:9999'
const auth = new AuthClient({ url: GOTRUE_URL })
signUp(): https://khulnasoft.io/docs/reference/javascript/auth-signupsignIn(): https://khulnasoft.io/docs/reference/javascript/auth-signinsignOut(): https://khulnasoft.io/docs/reference/javascript/auth-signoutfetch implementationauth-js uses the cross-fetch library to make HTTP requests, but an alternative fetch implementation can be provided as an option. This is most useful in environments where cross-fetch is not compatible, for instance Cloudflare Workers:
import { AuthClient } from '@khulnasoft/auth-js'
const AUTH_URL = 'http://localhost:9999'
const auth = new AuthClient({ url: AUTH_URL, fetch: fetch })
We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves.

Generated using TypeDoc