@toss/storage

1.4.0 • 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.4.0
    623
    • latest

Version History

Package Sidebar

Install

npm i @toss/storage

Weekly Downloads

1,648

Version

1.4.0

License

none

Unpacked Size

40.9 kB

Total Files

19

Last publish

Collaborators

  • whitekiwi
  • sok125
  • toss-public
  • changyoung
  • raon0211