@amisi/core
@amisi/core is the “boring but critical” layer.
It contains cross-cutting utilities that every other package should depend on instead of re-implementing:
- Storage wrappers
- Logging
- Errors + error boundary
- Platform helpers
- Small utilities
Storage
Secure storage
Use secure storage for sensitive values like tokens.KV storage (MMKV)
Use KV storage for fast, synchronous persistence.Logging
Use the shared logger instead ofconsole.*.
Errors
AppError
Standardize errors usingAppError.