Practic Persist - v1.0.0
    Preparing search index...

    Function persistStorageKey

    • Names a storage key in the convention every package follows, practic_<package>_<subkey>, so stored data is recognisable by the package that owns it and never collides with another package's.

      Parameters

      • packageName: string

        Package name without the @practic/ scope, such as force-directed.

      • subkey: string

        What the key holds within the package, such as generations.

      Returns string