A daily regimen of learning the books of Nevi'im (Prophets) and Ketuvim (Writings), one chapter per day.
The current cycle began on 1 November 2007 (20 Cheshvan 5768) and completes Nach in 742 days (~2 years), then repeats indefinitely.
Construct the index once and call * .lookup(date) for each day you need.
import {NachYomiIndex} from '@hebcal/learning/nachYomiBase';const index = new NachYomiIndex();console.log(index.lookup(new Date(2024, 3, 8)));// {k: 'I Samuel', v: 23} Copy
import {NachYomiIndex} from '@hebcal/learning/nachYomiBase';const index = new NachYomiIndex();console.log(index.lookup(new Date(2024, 3, 8)));// {k: 'I Samuel', v: 23}
Builds the in-memory index of all 742 chapters in the cycle. Reuse the same instance across many lookups.
Returns the chapter of Nach to study on the given date.
Hebrew date, Gregorian Date, or absolute (R.D.) day number.
Date
A NachYomi {k, v} — book name and chapter number. Never null; the cycle has no skip days.
{k, v}
null
if date is before 1 November 2007.
date
if date is not an HDate, Date, or finite number.
HDate
A daily regimen of learning the books of Nevi'im (Prophets) and Ketuvim (Writings), one chapter per day.
The current cycle began on 1 November 2007 (20 Cheshvan 5768) and completes Nach in 742 days (~2 years), then repeats indefinitely.
Construct the index once and call * .lookup(date) for each day you need.
Example