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 73 star systems within 20 light-years, with names in English and Japanese, place, distance, companions and the source of each value

nearStarsfunction

The star systems within 20 light-years, nearest first: 73 of them, from Alpha Centauri at 4.3 to a faint red dwarf at 19.8. The primary star's distance is known to 10% or better.

Import it

import { nearStars } from "@johnmorrisdotca/hoshi-stars/near-stars";

Definition

function nearStars(options?: { maxLightYears?: number; }): NearStar[]

Parameters

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

maxLightYears: only systems nearer than this (a system at exactly that distance is in).

Returns

NearStar[]

A fresh array of the shared, frozen systems.

Examples

import { nearStars } from "@johnmorrisdotca/hoshi-stars/near-stars";

console.log(nearStars().length, nearStars({ maxLightYears: 10 }).map((s) => s.name));
73 [
  'Alpha Centauri',
  "Barnard's Star",
  'Wolf 359',
  'Lalande 21185',
  'Sirius',
  'UV Ceti',
  'Ross 154'
]

What it prints (run when this page was built)

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