tamer-local-storage
Web-standard localStorage API for Lynx: persistent key-value storage via Android SharedPreferences and iOS UserDefaults.
Installation
Run t4l link after installing. This package is not part of t4l add-core; add it explicitly if you need it.
Usage
Named import:
Side-effect / global (optional): import '@tamer4lynx/tamer-local-storage' or import '@tamer4lynx/tamer-local-storage/global' to attach globalThis.localStorage when absent.
API
Implements the Storage surface: getItem, setItem, removeItem, clear. Key enumeration (key, length) is limited on native backends—see the package README on GitHub for details.
Native
Uses lynx.ext.json for autolinking. After install, run t4l link.
See also
- Packages overview — other
@tamer4lynxmodules
