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 · What is near a star, an object or a point, in the sky and in space; neighbouring constellations

NearestThingtype

Something a query can find: a bright star, a nearby star (from /nearby, passed in among) or a deep-sky object.

Import it

import type { NearestThing } from "@johnmorrisdotca/hoshi-stars/nearest";

Definition

type NearestThing = Star | NearbyStar | DeepSkyObject;

Examples

import { nearest, type NearestThing } from "@johnmorrisdotca/hoshi-stars/nearest";

const thing: NearestThing = nearest("Sirius", { count: 1 })[0]!.thing;
console.log(thing.rightAscension.toFixed(1));
102.6

What it prints (run when this page was built)

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