A KeyValueStorage that prepends a relative path to the key. Leading slashes of the relative path are trimmed, and a trailing slash is added if needed.
Protected
Readonly
Deletes the value stored for the given key.
Key to delete.
If there was a value to delete.
An iterable of entries in the storage.
Returns the value stored for the given identifier. undefined if no value is stored.
undefined
Checks whether there is a value stored for the given key.
Sets the value for the given key.
Key to set/update.
Value to store.
The storage.
This function will be called on the input key and used as a new key when calling the source.
Original input key.
A new key to use with the source storage.
This function is used when calling entries() to revert the key generated by toNewKey().
entries()
toNewKey()
The original key.
A KeyValueStorage that prepends a relative path to the key. Leading slashes of the relative path are trimmed, and a trailing slash is added if needed.