Skip to content

Package exports

This page helps you find the main package-level APIs. It is a routing aid, not a complete export index.

Primary import

Prefer TypeScript + ESM-style named imports in new documentation and new applications:

ts
import { Client } from '@beblurt/dblurt';

CommonJS remains supported where compatibility requires it:

js
const { Client } = require('@beblurt/dblurt');

Runtime entrypoints

The package metadata defines:

FieldPurpose
mainCommonJS/Node runtime entry.
types / typingsTypeScript declaration entry.
browserBrowser bundle substitutions.
filesPackage contents published to npm.

Use package.json as the canonical source for exact package metadata.

Important exported families

FamilyExamplesAPI details
ClientClient, ClientOptionsClient, ClientOptions
ErrorsValidationError, classifyErrorErrors
Content buildersbuildPostOperation, buildReplyOperationbuildPostOperation
Social buildersfollow/reblog/community custom JSON buildersAPI reference
Authority validationposting/account authority helpersvalidatePostingAuthority
Read modelsclient.read / ReadModelsReadModels

For the complete export list, use the API reference.