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 · /chart

MarkerWhentype

A moment: an ISO 8601 text (2026-11-08 or 2026-11-08T21:30:00Z), milliseconds since 1970 (what Date.now() and getTime() give), or a Date.

Import it

import type { MarkerWhen } from "@johnmorrisdotca/hoshi-stars/chart";

Definition

type MarkerWhen = string | number | Date;

Examples

import type { MarkerWhen } from "@johnmorrisdotca/hoshi-stars/chart";

const moments: MarkerWhen[] = ["2026-11-08", 1794096000000, new Date(Date.UTC(2026, 10, 8))];
console.log(moments.length);
// 3
3

What it prints (run when this page was built)

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