ngx-data-polling
December 6, 2025 ยท View on GitHub
Angular 20 library with utilities to handle data polling in a declarative and type-safe way.
๐ Documentation
For complete documentation, usage examples, and API reference, see:
projects/ngx-data-polling/README.md
๐ Quick Start
npm install ngx-data-polling
import { pollingResource } from 'ngx-data-polling';
readonly resource = pollingResource({
loader: () => this.myService.getData(),
intervalMs: 5000,
initialValue: []
});
๐ ๏ธ Development
# Install dependencies
npm install
# Build the library
npm run build
# Run tests
npm test
# Lint
npm run lint
๐ฆ Project Structure
ngx-data-polling/
โโโ projects/
โ โโโ ngx-data-polling/ # Library source code
โ โโโ src/
โ โ โโโ lib/
โ โ โ โโโ utils/
โ โ โ โโโ components/
โ โ โ โโโ directives/
โ โ โโโ public-api.ts
โ โโโ README.md # Full library documentation
โโโ package.json
โโโ README.md # This file (development guide)