@famir/common
Shared utilities and helpers for the famir ecosystem.
Features
- Lightweight DI container with singleton and transient support
- Base error class with context support
- URL-safe Base64 encoding/decoding
- AES-256-GCM encryption/decryption with compression
- Cryptographically secure random ID and name generation
- Type-safe array checking
- Serializing Error objects to JSON
Installation
npm install @famir/common