Skip to content

DEFAULT_PLUGIN_DATA_MAX_SIZE_IN_BYTES

The default maximum size of a plugin’s data.json, in bytes: 16 MiB.

This is a protective budget against startup exhaustion, not a sync quota. Obsidian Sync’s own per-file limit depends on the plan and is a separate constraint a plugin may want to stay well under.

Import:

import { DEFAULT_PLUGIN_DATA_MAX_SIZE_IN_BYTES } from '@mnaoumov/obsidian-lib/data-handler';

Signature:

const DEFAULT_PLUGIN_DATA_MAX_SIZE_IN_BYTES: 16777216

Type: 16777216


Links to this page: