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

0.1.1 • Public • Published

@cmtlyt/storage

v0.1.1

数据保存使用 gzip 压缩

v0.1.0

实现基本的存储功能, 支持 localStorage, sessionStorage, IndexedDB, Memory 对应暴露类: LocalStorage, SessionStorage, IndexedDBStorage, MemoryStorage

存储降级 (浏览器不支持的情况下会进行降级处理): IndexedDB -> localStorage -> sessionStorage -> Memory

Package Sidebar

Install

npm i @cmtlyt/storage

Weekly Downloads

11

Version

0.1.1

License

MIT

Unpacked Size

51.5 kB

Total Files

25

Last publish

Collaborators

  • cmtlyt