Protected
dataThe data stored in the JSON database.
Protected
filepathThe filepath where the data file is stored or to be stored.
Protected
indentsProtected
cloneCreates a deep clone of an object.
The object to clone.
The cloned object.
Gets a value from the JSON database.
Optional
prefix: stringObject path prefix as dot-separated keys.
The value associated with the key.
An error if no entry is found at the specified key.
Gets a value from the JSON database safely.
Optional
prefix: stringObject path prefix as dot-separated keys.
The value associated with the key, or undefined if no entry is found.
Sets a value in the JSON database.
Optional
prefix: stringObject path prefix as dot-separated keys.
The value to set.
Whether to save the data to the JSON file.
Generated using TypeDoc
Represents a simple JSON file database.