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. Test it yourself with this typescript stackblitz demo.
At first you have to create an empty entity store. Let's use the name books in this demonstration. At first we create a file called books-store.ts which will contain the followingIt does not matter how you name your files at all, this is just for demonstration purposes. Lets create a reader of the store, lets name it service.ts.In another file called controller.ts we are going to play around with some of the add and remove logic. The comments are printed due to the console.log in the previous file.If you don't provide an id property it will autogenerate a string of 20 characters [0-9a-zA-Z] as the id.