API Reference

@vorms/core

Lightweight, reactive form state manager with field-level validation, value transformers, and subscription-based updates.

Official Documentation ↗
CompatibilityThis documentation covers version v1.1.0. Check the official docs for the latest API surface.

Installation

npmnpm install @vorms/core

Methods

@vorms/core is lightweight, reactive form state manager with field-level validation, value transformers, and subscription-based updates. This page documents the core methods, installation, and common usage patterns for the current stable release.

Installation

Install @vorms/core with your preferred package manager using the command shown in the frontmatter. The package is published to the npm registry and ships with TypeScript types where applicable.

Core methods

The methods listed in the frontmatter cover the primary API surface. Each signature reflects the v0.1 release. Consult the official documentation linked in sourceUrl for advanced options, edge cases, and breaking changes between major versions.

Frequently asked questions

The faq section in the frontmatter answers the most common questions about @vorms/core, including comparisons with alternatives, configuration tips, and runtime requirements. If your question is not covered, check the source URL for the full guide.

FAQ

Is it React-specific?
The core is reactive and framework-agnostic; @vorms/react provides the React binding.
How does validation work?
Pass a validate function that receives values and returns an errors object.
Does it support arrays?
Yes. Use useFieldArray for dynamic lists with add, remove, and swap.