DaysUnit
Live · v1.0 · CDN-served

Working days
and public holidays for West Africa.

DaysUnit is an open, zero-infrastructure calendar service for UEMOA member states. Static JSON over a global CDN — no API keys, no rate limits, no backend cost. Drop it into your payroll, accounting, HR, or scheduling system and stop hand-maintaining holiday tables.

Today, in real time BJ · Bénin
Working day
Public holiday
First WD of month
Last WD of month

Quick start

Three ways to use it.

Hit the CDN directly, install the JS client, or pull the data offline with the CLI. All three speak the same JSON.

HTTP
# single day
curl https://days.claviscore.com/bj/2026/01/15.json

# whole month aggregate (recommended)
curl https://days.claviscore.com/bj/2026/01.json

# discover available countries & years
curl https://days.claviscore.com/manifest.json
JavaScript
npm install @claviscore/days

import days from '@claviscore/days'

const d = await days('BJ').on('2026-01-15')
d.isWorking()    // → true
d.isHoliday()    // → false

const m = await days('BJ').month(2026, 1)
m.workingDays() // → 21

await days('BJ').workingDaysInRange(
  '2026-01-01', '2026-03-31'
) // → 63
CLI · offline cache
# pre-download a country's calendar for offline lookup (Node / Deno / Bun)
npx days pull --country BJ --year 2026
npx days cache list
npx days cache clear

Coverage

UEMOA today, ECOWAS next.

Coverage advertised by manifest.json always reflects what's actually deployed. Consult it at runtime rather than hard-coding country lists.

Live countries
Years covered
Schema version
Last update

Resources

Everything you need.