A lightweight reactive state library for Node.js backends. Enables reactive state management with automatic dependency tracking and efficient updates for server-side applications.
npm install @nerdalytics/beacon> Lightweight reactive state management for Node.js backends






A lightweight reactive state library for Node.js backends. Enables reactive state management with automatic dependency tracking and efficient updates for server-side applications.
```
npm install @nerdalytics/beacon --save-exact
`typescript
import { state, derive, effect } from '@nerdalytics/beacon';
const count = state(0);
const doubled = derive(() => count() * 2);
effect(() => {
console.log(Count: ${count()}, Doubled: ${doubled()});
});
count.set(5);
// => "Count: 5, Doubled: 10"
``
Full documentation, API reference, and examples available at:
github.com/nerdalytics/beacon
MIT - See LICENSE for details.