Skip to main content

Built and signed on GitHub Actions

An ActivityPub/fediverse server framework

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
5 days ago (1.5.0)
function getActorTypeName
getActorTypeName(actor: Actor): ActorTypeName

Gets the type name of the given actor.

Parameters

actor: Actor

The actor to get the type name of.

Return Type

The type name of the given actor.

Add Package

deno add jsr:@fedify/fedify

Import symbol

import { getActorTypeName } from "@fedify/fedify/vocab";

---- OR ----

Import directly with a jsr specifier

import { getActorTypeName } from "jsr:@fedify/fedify/vocab";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { getActorTypeName } from "@fedify/fedify/vocab";

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

import { getActorTypeName } from "@fedify/fedify/vocab";

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

import { getActorTypeName } from "@fedify/fedify/vocab";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { getActorTypeName } from "@fedify/fedify/vocab";