@waitency/core
v0.1.1-beta.2
Published
Waitency: a library for managing loading states.
Downloads
9
Maintainers
Readme
@waitency/core
Framework-agnostic time-based loading phase management.
@waitency/core is the low-level Waitency package. It exposes the state machine, timeline helpers, and registry APIs used by higher-level integrations.
Install
npm install @waitency/coreUse This Package When
- you want the framework-agnostic engine
- you are not using React
- you are building your own framework binding
- you want direct access to timeline and registry APIs
If you are building a React app, start with @waitency/react instead.
Documentation
The published docs site for @waitency/core is not live yet.
Until that is available, use these entry points:
Public Surface
defineTimeline()for phase definitionscreateWaitency()for the core state machinefindPhase()for phase lookup helpersregister(),unregister(),getRegistry(), andsubscribeRegistry()for registry integration
The full export list lives in src/index.ts.
Development
npm install
npm --workspace @waitency/core run build
npm --workspace @waitency/core testLicense
MIT
