Notification Kit — other project

Notification Kit is an open-source (MIT) TypeScript library published on npm that unifies push, local, and in-app notifications behind one provider-less API spanning Web, iOS, and Android. Its defining decision is a zero-runtime-dependency architecture: Firebase, OneSignal, Capacitor, and React are all optional peers loaded dynamically only when used, so the core stays tiny and tree-shakeable. It ships dual ESM + CJS with full type declarations, provider-less React hooks (no context wrapper needed), Android notification channels, recurring local-notification scheduling, service-worker templates, and a notification-kit-setup CLI. Version 2.1.1 is published and verified with 124 passing tests, a clean strict type-check, and a fresh build, following an audit that hardened security and modernized the OneSignal provider.

Tech stack

  • TypeScript 6
  • React 19
  • CapacitorJS 8
  • Vite 8
  • Firebase
  • OneSignal
  • Vitest

Key features

  • Unified push, local & in-app notification API
  • Zero runtime dependencies (all peers optional)
  • Provider-less React hooks (no context wrapper)
  • Dual ESM + CJS with full type declarations
  • Recurring local-notification scheduling
  • Firebase + OneSignal providers
  • notification-kit-setup CLI

Category: other · Status: completed · Started: 2024-06 · Through: Present · Client: Open Source

Links: https://npmjs.com/package/notification-kit · https://github.com/aoneahsan

Tags: npm · package · notifications · react · capacitor · typescript · zero-dependencies


Contact

Website: https://zaions.com
Email: aoneahsan@gmail.com
GitHub: github.com/aoneahsan
LinkedIn: linkedin.com/in/aoneahsan
RSS Feed: https://zaions.com/feed.xml
Sitemap: https://zaions.com/sitemap.xml
LLM Index: https://zaions.com/llms.txt