爱意满满的作品展示区。
weekidjoker

整了个关于 storage 的 js 库。借助 proxy,扩展了 web storage 的功能,使用起来,更加方便快捷,也更加强大。主要功能为保持值类型不变,可直接操控 Object、Array,支持监听数据变化和设置过期时间。

  •  
  •   weekidjoker · Oct 20, 2022 · 2293 views
    This topic created in 1496 days ago, the information mentioned may be changed or developed.
    5 replies  •  2022-10-21 23:45:31 +08:00
    wsph123
    wsph123
    Oct 21, 2022
    2
    好耶看起来好方便
    weekidjoker
    weekidjoker
    OP
    Oct 21, 2022
    3
    @wsph123 感谢大佬的 star
    wingkwanli888
    wingkwanli888
    Oct 21, 2022
    4
    有打算支持 indexdb 咩,有过 10M 离线数据要缓存
    weekidjoker
    weekidjoker
    OP
    Oct 21, 2022
    5
    @wingkwanli888 indexdb 用得少,不太了解。我试试看兼容,你可以提个 issue
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:30 · PVG 03:30 · LAX 11:30 · JFK 14:30
    ♥ Do have faith in what you're doing.