Introduction
@ng-catbee/cookie – Angular Cookie Management
A modern, type-safe Angular library for managing browser cookies with ease — fully compatible with Server-Side Rendering (SSR) and offering advanced features like JSON storage, boolean/number parsing, and enum validation.
📦 Demo
✨ Features
- 🍪 Simple & Intuitive API - Easy-to-use methods for all cookie operations
- 🔒 Type-Safe - Full TypeScript support with generics
- 🎯 Advanced Getters - Built-in support for JSON, arrays, booleans, numbers, and enums
- 🔐 Secure by Default - Support for Secure and SameSite attributes
- 🌐 SSR Compatible - Gracefully handles server-side rendering
- 📦 Zero Dependencies - Lightweight with no external dependencies
🧩 Angular Compatibility
| Angular Version | Supported |
|---|---|
v17 and above | ✅ Fully supported |
This library is built and tested with Angular 20.x, and supports all modern standalone-based Angular projects (v17+).
📜 License
MIT © Catbee Technologies (see the LICENSE file for the full text)