docs: add Architecture section to README

This commit is contained in:
Aric Camarata 2026-03-08 17:10:47 -04:00
parent c6f5bc7211
commit efc9e60dd9

View file

@ -123,6 +123,12 @@ installHijri(moment);
const hijri: HijriDate | null = moment().toHijri();
```
## Architecture
A thin plugin wrapper over [hijri-core](https://github.com/acamarata/hijri-core). The plugin augments the Moment.js prototype with Hijri methods, each delegating to the registered calendar engine. Zero global state.
For more detail see the [Architecture wiki page](https://github.com/acamarata/moment-hijri-plus/wiki/Architecture).
## Documentation
Full API reference, architecture notes, and calendar algorithm details are in the [project wiki](https://github.com/acamarata/moment-hijri-plus/wiki).