Skip to main content
Home
This release is 27 versions behind 1.5.1 — the latest version of @fedify/fedify. Jump to latest

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
4 months ago (1.3.3)
method Object.prototype.duration
Object.prototype.duration(): Temporal.Duration | null

When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object's approximate duration. The value MUST be expressed as an xsd:duration as defined by W3C XML Schema Definition Language (XSD) 1.1 Part 2: DataTypes, section 3.3.6 (e.g. a period of 5 seconds is represented as PT5S).

Return Type

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 { Object } from "@fedify/fedify";
or

Import directly with a jsr specifier

import { Object } 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 { Object } 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 { Object } from "@fedify/fedify";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { Object } from "@fedify/fedify";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { Object } from "@fedify/fedify";