Skip to content

createKey()

Builds a storage key from a prefix, optional namespace and key.

Example:

ts
createKey('app', 'token', 'auth'); // 'app/auth/token'

Released under the MIT License.