In memory buffer to read/write data
An array of callback functions that are alerted when the database changes (mostly want to use this for some type of pubsub functionality on-top)
Resolve the object located at path.
If isRead == true, no new nodes will be created, and the function will return null if a null node is encountered on the path. Else, we create each node on the path.
Level is used to determine how deep to recurse on path. Callers interested in writing may wish to stop higher up the tree.
Serialize the current buffer into a plain file.
Change the path by injecting custom Context
Throws OUT_OF_SPACE
Generated using TypeDoc
Implementation of NoSQL DB that uses paths and objects.
See DatabaseInterface for docs on public API
Uses a plain object as a buffer and reads/writes to a plain JSON file. A better implementation could be backed by somethig a little nicer and not hold the buffer in memory