UNPKG

@thanhtungka91/iztro

Version:

轻量级紫微斗数星盘生成库。可以通过出生年月日获取到紫微斗数星盘信息、生肖、星座等信息。This is a lightweight kit for generating astrolabes for Zi Wei Dou Shu (The Purple Star Astrology), an ancient Chinese astrology. It allows you to obtain your horoscope and personality analysis.

16 lines (15 loc) 768 B
import starEnUS from '../locales/en-US/star'; import starJaJP from '../locales/ja-JP/star'; import starKoKR from '../locales/ko-KR/star'; import starZhCN from '../locales/zh-CN/star'; import starZhTW from '../locales/zh-TW/star'; import starViVN from '../locales/vi-VN/star'; type StarEnUS = (typeof starEnUS)[keyof typeof starEnUS]; type StarJaJP = (typeof starJaJP)[keyof typeof starJaJP]; type StarKoKR = (typeof starKoKR)[keyof typeof starKoKR]; type StarZhCN = (typeof starZhCN)[keyof typeof starZhCN]; type StarZhTW = (typeof starZhTW)[keyof typeof starZhTW]; type StarViVN = (typeof starViVN)[keyof typeof starViVN]; export type StarName = StarEnUS | StarJaJP | StarKoKR | StarZhCN | StarZhTW | StarViVN; export type StarKey = keyof typeof starZhCN; export {};