Skip to content

Commit 642caaa

Browse files
Merge pull request #394 from observerly/feature/moon/names
feat: add names Map to moon module in @observerly/astrometry
2 parents 3ed2f33 + bb3d98b commit 642caaa

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/moon.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
import { getHourAngle, getObliquityOfTheEcliptic } from './astrometry'
1010

11+
import { type GregorianMonth } from './calendar'
12+
1113
import { AU_IN_METERS } from './constants'
1214

1315
import {
@@ -100,6 +102,23 @@ export type ColloquialMoonNames =
100102

101103
/*****************************************************************************************************************/
102104

105+
export const names = new Map<GregorianMonth, Set<AlgonquinMoonNames | AnishinaabegMoonNames>>([
106+
['January', new Set(['Wolf Moon', 'Spirit Moon'])],
107+
['February', new Set(['Snow Moon', 'Bear Moon'])],
108+
['March', new Set(['Worm Moon', 'Snow Crust Moon'])],
109+
['April', new Set(['Pink Moon', 'Broken Snowshoe Moon'])],
110+
['May', new Set(['Flower Moon', 'Sucker Moon'])],
111+
['June', new Set(['Strawberry Moon', 'Blooming Moon'])],
112+
['July', new Set(['Buck Moon', 'Berry Moon'])],
113+
['August', new Set(['Sturgeon Moon', 'Grain Moon'])],
114+
['September', new Set(['Corn Moon', 'Changing Leaves Moon'])],
115+
['October', new Set(["Hunter's Moon", 'Falling Leaves Moon'])],
116+
['November', new Set(['Beaver Moon', 'Freezing Moon'])],
117+
['December', new Set(['Cold Moon', 'Little Spirit Moon'])]
118+
])
119+
120+
/*****************************************************************************************************************/
121+
103122
export const Phases = {
104123
New: 'New',
105124
WaxingCrescent: 'Waxing Crescent',

0 commit comments

Comments
 (0)