Skip to main content
This release is 10 versions behind 1.4.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
3 months ago (1.3.0)
property GetNodeInfoOptions.parse

How strictly to parse the NodeInfo document.

  • "strict": Parse the NodeInfo document strictly. If the document is invalid, undefined is returned. This is the default.
  • "best-effort": Try to parse the NodeInfo document even if it is invalid.
  • "none": Do not parse the NodeInfo document. The function will return the raw JSON value.

Type

"strict"
| "best-effort"
| "none"

Add Package

deno add jsr:@fedify/fedify

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @fedify/fedify

Import symbol

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

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

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

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

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

Add Package

bunx jsr add @fedify/fedify

Import symbol

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