moon-time-ts
v1.0.2
Published
moon-time is a component that converts the solar calendar (Gregorian) to the lunar calendar (Chinese lunar calendar), it is very simple to use。
Downloads
8
Maintainers
Readme
moon-time-ts
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。
Install
npm install moon-time-ts
let moonTimes = moonTime({
year,
month,
day
})
npm way
import moonTime from 'moon-time-ts'
let moonTimes = moonTime({
year:2022,
month:10,
day:13
})
console.log(moonTimes);