Plugins โ
morsel is pluggable by design. The plugin ecosystem is growing โ here's what's available and what's coming.
Format โ
Format plugins extend morsel with new file format parsers.
| Package | Extensions | Status |
|---|---|---|
jsonPlugin | .json | Built-in |
@oclio/morsel-json5 | .json5 | ๐ October 2026 |
@oclio/morsel-yaml | .yaml, .yml | ๐ October 2026 |
@oclio/morsel-toml | .toml | ๐ October 2026 |
@oclio/morsel-ini | .ini | ๐ October 2026 |
@oclio/morsel-ts | .ts, .mts | ๐ October 2026 |
@oclio/morsel-js | .js, .mjs, .cjs | ๐ October 2026 |
Validation โ
Validation plugins validate and transform the merged configuration post-merge.
| Package | Wrapper | Status |
|---|---|---|
@oclio/morsel-zod | zod | ๐ October 2026 |
@oclio/morsel-ajv | ajv (JSON Schema) | ๐ October 2026 |
@oclio/morsel-yup | yup | ๐ October 2026 |
@oclio/morsel-valibot | valibot | ๐ October 2026 |
@oclio/morsel-schema | JSON schema (0D) | ๐ October 2026 |
@oclio/morsel-env | env validation | ๐ October 2026 |
Ecosystem โ
| Package | Role | Status |
|---|---|---|
@oclio/morsel-multi | load and manage multiple named configs in one instance | ๐ October 2026 |
Tooling โ
| Package | Role | Status |
|---|---|---|
@oclio/morsel-cli | command-line tool for config inspection and management | ๐ October 2026 |
morsel/action | GitHub Action for config validation in CI pipelines | ๐ October 2026 |
Authoring Plugins โ
Want to build your own plugin? See the Authoring Plugins guide for the full FormatPlugin, ValidationPlugin, and LayerHook contracts.