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 data door: hand the package your own stars or objects as a source with its own licence and credit, and see whose data is on the screen

Licencetype

A licence: its name and a link are always shown beside the credit. *

Import it

import type { Licence } from "@johnmorrisdotca/hoshi-stars/door";

Definition

interface Licence {
    name: string;
    url: string;
    spdx?: string;
    nonCommercial?: boolean;
    shareAlike?: boolean;
}

Members

NameTypeDescription
namestring
urlstring
spdx (optional)string | undefined

An SPDX identifier, when there is one.

nonCommercial (optional)boolean | undefined
shareAlike (optional)boolean | undefined

Examples

import type { Licence } from "./data-door.ts";

const licence: Licence = { name: "CC BY 4.0", url: "https://creativecommons.org/licenses/by/4.0/", spdx: "CC-BY-4.0" };

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