Caelus3,462 checksGitHubv0.25.0MIT
API Reference / PackSelection · interface

Interface: PackSelection

Which packs a computation needs.

Properties

PropertyTypeDescription
<a id="bodies"></a> bodiesreadonly string[]Chart bodies: "sun", "moon", a planet id. Bodies with no pack are ignored.
<a id="eras"></a> eras?readonly string[]Restrict to these eras, e.g. ["classical"].
<a id="fromyear"></a> fromYear?numberFirst astronomical year needed. Omit to take every era.
<a id="toyear"></a> toYear?numberLast astronomical year needed.

Start building

Quickstart →