Angular 2 Local Storage

JSON →
library 3.0.2 ·javascript
verified Jun 7, 2026

angular-2-local-storage v3.0.2 provides a LocalStorageService for Angular 2+ with a familiar API derived from angular-local-storage. It is AoT compatible, offers observables (errors$, removeItems$, setItems$, warning$) for reactive monitoring, and supports configurable prefix and storage type. Unlike its predecessor, it drops $rootScope events and the bind function (stubbed). The package ships TypeScript types and has peer dependencies on Angular (>=6.0) and RxJS (>=6.0). It is actively maintained on GitHub by phenomnomnominal.