This project was generated using Nx and makes heavy usage of RxJS.
This is a side product of nodeplotlib, but it is completely independent. It's a lightweight reactive entity store providing utilities for all commonly used crud operations, without setting up anything except the interface.
See the full users guide. Here's a quick demo:
import { Store } from 'reactive-entity-store';
export interface Book {
id?: string;
title: string;
author: string;
}
export const books = new Store<Book>();
books.getAll().subscribe(books => console.log(books));
// logs []
books.add({ id: 'tcc', title: 'Clean Coder', author: 'Bob' });
// logs [({ id: 'tcc', title: 'Clean Coder', author: 'Bob' }]
Install the Angular Console vscode extension.
Using it you can build, test, lint the library easily. The source files are located in /libs/reactive-entity-store/src
.
Before submitting a PR please make sure, all tests pass.
Contributions in all forms are welcome!