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 · Black holes: 301 with a place, a mass and distance with ranges, how each was found and the paper behind each fact

blackHolefunction

A black hole by any of its names, ignoring case, spacing, punctuation and the star after a name: Cygnus X-1, cyg x-1, HDE 226868, V404 Cyg, Sgr A*, M87, M87*, NGC 4486, or its id. A name two black holes share finds neither.

Import it

import { blackHole } from "@johnmorrisdotca/hoshi-stars/black-holes";

Definition

function blackHole(text: string): BlackHole | undefined

Parameters

NameTypeDescription
textstring

The name.

Returns

BlackHole | undefined

The black hole, or undefined if the text names none.

Examples

import { blackHole } from "@johnmorrisdotca/hoshi-stars/black-holes";

console.log(blackHole("Sgr A*")?.massSuns?.value, blackHole("M87")?.distanceParsecs?.value, blackHole("v404 cyg")?.name);
4297000 16800000 V404 Cygni

What it prints (run when this page was built)

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