Skip to main content
Home

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
2 months ago (1.9.1)
method Context.getCollectionUri
Context.getCollectionUri<TParam extends Record<string, string>>(
name: string | symbol,
values: TParam,
): URL

Builds the URI of a collection of objects with the given name and values.

Type Parameters

TParam extends Record<string, string>

Parameters

name: string | symbol

The name of the collection, which can be a string or a symbol.

values: TParam

The values of the URI parameters.

Return Type

The URI of the collection.

Throws

RouteError

If no object dispatcher is available for the name.

TypeError

If values are invalid.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";
or

Import directly with a jsr specifier

import { type Context } from "jsr:@fedify/fedify";

Add Package

pnpm i jsr:@fedify/fedify
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";

Add Package

yarn add jsr:@fedify/fedify
or (using Yarn 4.8 or older)
yarn dlx jsr add @fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";

Add Package

vlt install jsr:@fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { type Context } from "@fedify/fedify";