Skip to main content

A JavaScript/TypeScript package providing common utilities and logic shared across all Temboplus-Afloat Projects

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
70%
Published
3 weeks ago (0.1.29)
method AfloatAuth.prototype.currentUser
AfloatAuth.prototype.currentUser(): User | undefined

Gets the currently authenticated user.

Return Type

User | undefined

The current user or undefined if not authenticated

Add Package

deno add jsr:@temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

---- OR ----

Import directly with a jsr specifier

import { AfloatAuth } from "jsr:@temboplus/afloat";

Add Package

npx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

yarn dlx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

pnpm dlx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";

Add Package

bunx jsr add @temboplus/afloat

Import symbol

import { AfloatAuth } from "@temboplus/afloat";