Skip to content

charton API


charton API / @chart-on/core / index / storageKeyPart

Function: storageKeyPart() ​

storageKeyPart(part): string

Defined in: packages/core/src/storage/local.ts:46

A key part safe for any store: lower case, with every character outside a-z, 0-9, _ and - replaced by _. Symbols that differ only there share a key.

Parameters ​

part ​

string

Returns ​

string