Reference
The host stars of confirmed exoplanets worth a visit: place, distance, and each planet's name and orbital period
import { … } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";
8.6 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
Exoplanet | type | One confirmed planet, as the NASA Exoplanet Archive gives it. |
EXOPLANET_ARCHIVE_ACKNOWLEDGEMENT | constant | The acknowledgement the NASA Exoplanet Archive asks for in anything that uses its data. |
EXOPLANET_HOST_LIMIT_LY | constant | The distance within which every host star with a known distance is in the table, in light-years. |
ExoplanetHost | type | One host star with its planets. |
exoplanetHostByName | function | A host by a name, ignoring case and extra spaces: its name, its Japanese name, the Archive's name for it (Proxima Cen) or the name of one of its planets (TRAPPIST-1 e). |
exoplanetHosts | function | The host stars of confirmed exoplanets, nearest first: the stars within 50 light-years whose distance the Yale tables give to 10% or better, the stars with an IAU proper name among those, and TRAPPIST-1. |
ExoplanetHostSelection | type | Why a host is in the table: "near" (within 50 light-years), "named" (a star with an IAU proper name, farther) or "typed" (TRAPPIST-1, whose distance is typed from its papers). |
ExoplanetHostSource | type | Where a value of a host star comes from: "BSC" the Yale Bright Star Catalogue, "GCTP" the Yale General Catalogue of Trigonometric Stellar Parallaxes, "2MASS" the Two Micron All Sky Survey, or "typed" a published value typed into the package (TRAPPIST-1's parallax, from its papers). |