Private
Readonly
filePrivate
Readonly
lockPrivate
Readonly
lockerPrivate
getPrivate
getSets the value for the given key.
The storage.
Key to set/update.
Value to store.
Private
updateUpdates the data in the JSON file while using a write lock.
The return value of updateFn
.
A function that updates the JSON object.
Uses a JSON file to store key/value pairs.