Map a plain javascript object to a simple collection with curd functionality
Recently, I was working in a project which requires giving the users an ability to manage an application by having custom settings, after that, another requirement landed up which tells that the client needs to log users movements and show them later on, this was a little fuzzy when it comes to deal with duplication and other stuff since what I have just a plain javascript object that will be sent to backend after while and more cases I faced while I was working on it.
after a bit of writing the logic, it grows to be not good to included directly in the project for reasons!
so It's ended up to published on NPM, perhaps it will help anyone.
DocumentStorage, the name looks weird a bit, but I didn't find a good one.
You can find the documentation in the link
also, you can find my other personal project here
Top comments (0)