Skip to content

ngfelixl/reactive-entity-store

Repository files navigation

Reactive Entity Store

Build Status Coverage Status NPM npm bundle size

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.

Users Guide

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' }]

Developers Guide

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.

Contributors

Contributions in all forms are welcome!

About

Ultra lightweight reactive crud entity store powered by RxJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published