ng-page-load-timer
v0.0.9
Published
A lightweight Angular library that automatically measures and stores page load times, page paths, and titles into `localStorage`.
Downloads
29
Readme
🚀 Page Load Timer for Angular
A lightweight Angular library that automatically measures and stores page load times, page paths, and titles into localStorage.
✅ Zero setup
✅ Tracks route navigation performance
✅ Stores data in localStorage with session & timestamp
📦 Installation
npm install page-load-timer
## 📦 Installation
Install the library using npm or yarn:
```bash
npm install ng-page-load-timer
# or
yarn add ng-page-load-timer
---
Usage
import { PageLoadTimerModule } from "ng-page-load-timer";
imports: [
PageLoadTimerModule.forRoot({
storageKey: STORAGE_KEY,
serviceId: SERVICE_ID,
maxLogs: 100,
});
]
