@asyra/factory
v0.5.4
Published
Manipulate with data changes
Readme
@asyra/factory
Canonical transaction grouping, rollback, Undo/Redo history, replay, and local shared-publication infrastructure.
Requirements
- Node.js 24.x
- Yarn 4.3.1 for this repository's maintained workflows
Install
npm install @asyra/factoryimport factory from '@asyra/factory'Use only the package root and the explicitly documented public subpaths.
Owns
- the active transaction journal, one outer commit, validation, rollback, history, replay, and publication evidence
Does not own
- product command meaning, package invariants, persistence durability, collaboration transport, or App conflict policy
Start here
Use Factory whenever one intended canonical action needs atomicity, rollback, history, or shared publication. Core already coordinates the common App instance.
Lifecycle and composition
Nested starts join one outer journal. A valid outer end creates at most one Undo entry; failure or rejected validation runs inverses in reverse order. Undo/Redo replays owner-issued evidence without creating a parallel mutation route.
Learn more
Support and policy
GitHub Discussions is the intended public channel for community conversation and general help. Discussions is not enabled for this repository yet, so there is currently no public community support destination. GitHub Issues are not a general public support channel. External pull requests are not accepted by default. Community participation creates no SLA or response deadline.
You may use, inspect, and fork the package under the MIT License. Read the support policy. For suspected vulnerabilities, follow the security policy and report privately.
