Zero-infrastructure, open calendar data for West Africa.
# DaysUnit
**Zero-infrastructure, open calendar data for West Africa.**
DaysUnit provides per-day working day, public holiday, and calendar metadata for UEMOA member states as static JSON files served over a global CDN — no API keys, no rate limits, no backend costs.
**Primary consumers:** SaaS applications in the UEMOA zone — payroll, accounting (SYSCOHADA), HR, leave management, scheduling.
**Runtime support:** Browser, Node ≥ 18, Deno, Bun — zero bundled calendar data, fetched from CDN at runtime.
> *DaysUnit is a community calendar reference and is not affiliated with any government. For high-stakes use, double-check critical dates against official sources. See DISCLAIMER.md for the full notes.*
---
## Table of Contents
- DaysUnit
- Table of Contents
- 1. What is DaysUnit?
- 2. Countries
- 3. Quick Start
- CDN (no install)
- JavaScript
- 4. CDN Endpoints
- 5. JSON Structure
- 5.1 Single Day
- 5.2 Month Aggregate
- 5.3 Year Summary
- 5.4 Manifest
- 6. JavaScript Library — `@claviscore/days`
- 6.1 Installation
- 6.2 Single day
- 6.3 Month
- 6.4 Range
- 6.5 Multi-country batch
- 6.6 Navigation helpers
- 6.7 Configuration
- 6.8 Resolver strategy
- 6.9 Error handling
- 7. CLI — Offline Cache
- 8. Data Quality \& Confidence
- 9. Versioning
- Data schema
- npm package
- Git tags
- 10. Repository Structure
- 11. Development Setup
- Prerequisites
- Install
- Workspace scripts
- Running schema validation locally
- 12. Contributing
- Summary of contribution types
- 13. Maintainer Guide
- Annual pre-generation (each November)
- Publishing a package release
- Reviewing AI-proposed PRs (label: `ai-proposed`)
- 14. Security
- 15. License
- Annex A — Field provenance
- A.1 Pure-computation fields (no source needed, always trustworthy)
- A.2 Computed, but transitively dependent on holiday data
- A.3 Legally-determined fields (require a verifiable source)
- A.4 Rule of thumb
- Authorship \& Support
---
## 1. What is DaysUnit?
DaysUnit is a zero-infrastructure, open …