@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
Classes
- BootstrapError
- CommonError
- DIContainer
Type Aliases
- CommonErrorOptions
- DIComposer
- DIFactory
- DIToken
- ErrorContext
Functions
- arrayIncludes
- decrypt
- encrypt
- randomIdent
- randomName
- safeBase64Decode
- safeBase64Encode
- serializeError