@toss/storage
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

@toss/storage

Web Storage is not available in some browser's incognito mode, test environment, etc. When you access window.localStorage or window.sessionStorage in one of those cases, an error would be thrown.

A library @toss/storage provides a safe Web Storage accessor for those cases. And a subpath exported module @toss/storage/typed makes Web Storage type-safe.

/@toss/storage/

    Package Sidebar

    Install

    npm i @toss/storage

    Weekly Downloads

    6,036

    Version

    1.4.1

    License

    none

    Unpacked Size

    41.1 kB

    Total Files

    19

    Last publish

    Collaborators

    • toss-public
    • raon0211
    • sok125
    • whitekiwi
    • sukjae