xdlocalstorage

JSON →
library 2.0.5 ·javascript
verified Jun 7, 2026

Cross Domain Local Storage is a lightweight JavaScript library that implements the standard localStorage interface using iframe postMessage communication to share data across subdomains. Current version is 2.0.5. It provides async API with callbacks or promises (v2+), and supports Angular integration. Unlike cookies, it does not send data to the server on every request. However, note that Safari 7+ blocks third-party data, making the library unusable on that browser.