Converted @moon-time to TS
moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。
npm install moon-time-ts
let moonTimes = moonTime({
year,
month,
day
})
import moonTime from 'moon-time-ts'
let moonTimes = moonTime({
year:2022,
month:10,
day:13
})
console.log(moonTimes);