@hebcal/leyning 4.11.0 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,6 +3,27 @@ Javascript Torah Reading API for Parashat HaShavua and holidays
3
3
 
4
4
  [![Build Status](https://circleci.com/gh/hebcal/hebcal-leyning.svg?style=svg)](https://circleci.com/gh/hebcal/hebcal-leyning)
5
5
 
6
+ This package includes both traditional (full kriyah), triennial and weekday
7
+ Torah readings.
8
+
9
+ “Many congregations pattern their weekly Torah reading cycle after a system
10
+ similar to the one used in ancient Israel during the rabbinic period. In
11
+ this system, the traditional parashiot are each divided into three shorter
12
+ segments, and the whole Torah is completed once every three years. The
13
+ system has both advantages and disadvantages, but its ability to shorten
14
+ the length of Torah reading without sacrificing the complete reading of the
15
+ Torah on a regular basis has made it the choice of some synagogues in the
16
+ Conservative Movement.”
17
+
18
+ [A Complete Triennial System for Reading the Torah, Committee on Jewish Law and Standards of the Rabbinical Assembly](https://www.rabbinicalassembly.org/sites/default/files/public/halakhah/teshuvot/19861990/eisenberg_triennial.pdf)
19
+
20
+ Update December 2021: In November 2020, the CJLS modified the triennial
21
+ cycle for some combined parshiyot to change the reading for year 3 to be
22
+ the third section of the parashah.
23
+
24
+ [Modification of the Triennial Cycle Readings for Combined Parashot in Certain Years](https://www.rabbinicalassembly.org/sites/default/files/2021-09/cohen-triennial.pdf), Rabbi Miles B. Cohen
25
+
26
+
6
27
  ## Installation
7
28
  ```bash
8
29
  $ npm install @hebcal/leyning
@@ -81,7 +102,7 @@ of full kriyah aliyot, special Maftir, special Haftarah</p>
81
102
  <dd><p>Looks up leyning for a regular Shabbat parsha.</p>
82
103
  </dd>
83
104
  <dt><a href="#formatAliyahWithBook">formatAliyahWithBook(a)</a> ⇒ <code>string</code></dt>
84
- <dd><p>Formats an aliyah object like &quot;Numbers 28:9 - 28:15&quot;</p>
105
+ <dd><p>Formats an aliyah object like &quot;Numbers 28:9-28:15&quot;</p>
85
106
  </dd>
86
107
  <dt><a href="#formatAliyahShort">formatAliyahShort(aliyah, showBook)</a> ⇒ <code>string</code></dt>
87
108
  <dd><p>Formats an aliyah object like &quot;Numbers 28:9-15&quot;</p>
@@ -281,7 +302,7 @@ Looks up leyning for a regular Shabbat parsha.
281
302
  <a name="formatAliyahWithBook"></a>
282
303
 
283
304
  ## formatAliyahWithBook(a) ⇒ <code>string</code>
284
- Formats an aliyah object like "Numbers 28:9 - 28:15"
305
+ Formats an aliyah object like "Numbers 28:9-28:15"
285
306
 
286
307
  **Kind**: global function
287
308
 
@@ -325,6 +346,14 @@ Looks up the triennial leyning for this Parashat HaShavua
325
346
  | ev | <code>Event</code> | | |
326
347
  | [context] | <code>boolean</code> | <code>false</code> | returns a reading wrapper object which includes `date`, `yearNum` and `aliyot` |
327
348
 
349
+ <a name="getTriennialForParshaHaShavua..reason"></a>
350
+
351
+ ### getTriennialForParshaHaShavua~reason
352
+ **Kind**: inner constant of [<code>getTriennialForParshaHaShavua</code>](#getTriennialForParshaHaShavua)
353
+ **Todo**
354
+
355
+ - [ ] update unit tests instead
356
+
328
357
  <a name="Aliyah"></a>
329
358
 
330
359
  ## Aliyah : <code>Object</code>
@@ -352,8 +381,10 @@ Leyning for a parsha hashavua or holiday
352
381
  | Name | Type | Description |
353
382
  | --- | --- | --- |
354
383
  | summary | <code>string</code> | |
384
+ | haft | [<code>Aliyah</code>](#Aliyah) | Haftarah |
355
385
  | haftara | <code>string</code> | Haftarah |
356
386
  | [haftaraNumV] | <code>number</code> | |
387
+ | [seph] | [<code>Aliyah</code>](#Aliyah) | Haftarah for Sephardic |
357
388
  | [sephardic] | <code>string</code> | Haftarah for Sephardic |
358
389
  | [sephardicNumV] | <code>number</code> | |
359
390
  | fullkriyah | <code>Object.&lt;string, Aliyah&gt;</code> | |