Flux - Elegant State Management and Event System
Installations
npm install @alwatr/fetch-state-machine
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
22.10.0
NPM Version
lerna/3.10.0/node@v22.10.0+x64 (linux)
Score
65.9
Supply Chain
53.3
Quality
82.5
Maintenance
100
Vulnerability
69.1
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (66.12%)
JavaScript (28.73%)
HTML (5.16%)
Developer
Alwatr
Download Statistics
Total Downloads
2,437
Last Day
16
Last Week
79
Last Month
388
Last Year
2,437
GitHub Statistics
3 Stars
2,598 Commits
3 Forks
3 Watching
5 Branches
18 Contributors
Package Meta Information
Latest Version
4.0.2
Package Id
@alwatr/fetch-state-machine@4.0.2
Unpacked Size
86.98 kB
Size
23.61 kB
File Count
18
NPM Version
lerna/3.10.0/node@v22.10.0+x64 (linux)
Node Version
22.10.0
Publised On
06 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
2,437
Last day
-11.1%
16
Compared to previous day
Last week
3.9%
79
Compared to previous week
Last month
-56.9%
388
Compared to previous month
Last year
0%
2,437
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Flux - Elegant State Management and Event System
Introduction
Flux empowers your applications with elegant and powerful state management and event handling capabilities. Built on the observable design pattern, Flux provides a lightweight yet robust foundation for managing global signals and states.
Key Features:
- Intuitive State Management: Embrace Flux as an advanced alternative to Redux or Recoil, minus the complexities and unnecessary overhead. Each signal maintains its own value, offering seamless state control.
- Finite-State Machines (FSM): Leverage observables to gracefully manage invocations and state transitions within your finite-state machines.
- Server Context Management: Effortlessly handle server-side context with Flux's elegant context manager, ensuring optimal organization and control.
- Remote Context Management: Manage remote context data with offline-first support and automatic revalidation.
- Fetch State Machine: Simplify state management for server requests with built-in support for fetch operations.
Packages
Core Packages
- Observable: Provides the core observable pattern implementation used throughout the Flux ecosystem. See packages/observable for more details.
- Context: A simple yet powerful TypeScript library for managing application context and facilitating efficient communication between components. See packages/context for more details.
- Signal: A lightweight library for managing global signals and state changes. See packages/signal for more details.
State Machines
- FSM: Core finite-state machine implementation. See packages/fsm for more details.
- FetchStateMachine: Simplifies state management for server requests with built-in support for fetch operations. See packages/fetch-state-machine for more details.
- RemoteContext: Manages remote context data with offline-first support and automatic revalidation. See packages/remote-context for more details.
Sponsors
The following companies, organizations, and individuals support flux ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
Contributing
Contributions are welcome! Please read our contribution guidelines before submitting a pull request.
License
This project is licensed under the AGPL-3.0 License.
No vulnerabilities found.
No security vulnerabilities found.