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

ChartLayertype

One of CHART_LAYERS.

Import it

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

Definition

type ChartLayer = (typeof CHART_LAYERS)[number];

Examples

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

const layers: ChartLayer[] = ["lines", "boundaries"];
console.log(layers.length);
// 2
2

What it prints (run when this page was built)

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