Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · The host stars of confirmed exoplanets worth a visit: place, distance, and each planet's name and orbital period

exoplanetHostsfunction

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.

Import it

import { exoplanetHosts } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

Definition

function exoplanetHosts(options?: { maxLightYears?: number; minPlanets?: number; }): ExoplanetHost[]

Parameters

NameTypeDescription
options (optional){ maxLightYears?: number; minPlanets?: number; }

maxLightYears: only hosts nearer than this. minPlanets: only hosts with at least this many confirmed planets.

Returns

ExoplanetHost[]

A fresh array of the shared, frozen hosts.

Examples

import { exoplanetHosts } from "@johnmorrisdotca/hoshi-stars/exoplanet-hosts";

console.log(exoplanetHosts({ minPlanets: 4 }).map((h) => `${h.name} ${h.planetCount}`));
[
  "Barnard's Star 4",
  'Lacaille 9352 4',
  'GJ 876 4',
  'HD 219134 4',
  'TRAPPIST-1 7',
  'Copernicus 5'
]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.