Reference · The Messier objects
messierfunction
The 110 Messier objects, M1 first and M110 last. M102 is the one the literature disagrees about: Messier's own description matches M101 (a repeat of it), and the modern lists take it for the
lenticular galaxy NGC 5866, which is what this table does (a note on M102 is in NOTICE.md). M40 (Winnecke 4, a double star) and M73 (four stars) are in the list as other, since Messier
listed them.
Import it
import { messier } from "@johnmorrisdotca/hoshi-stars/deep-sky";
Definition
function messier(): DeepSkyObject[]
Returns
DeepSkyObject[]
A fresh array of the shared, frozen objects.
Examples
import { messier } from "@johnmorrisdotca/hoshi-stars/deep-sky";
console.log(messier().length, messier()[30]?.name);110 Andromeda GalaxyWhat it prints (run when this page was built)