A Node.js Library to list the lunar birthday in the terminal.
npm install --global @kabeep/lunar-birthday-cli
yarn add --global @kabeep/lunar-birthday-cli
pnpm add --global @kabeep/lunar-birthday-cli
birthday [options] <date>
Options:
-m, --mode e(gg), n(ow), d(ecade)๏ผc(entury)
[string] [choices: "e", "n", "d", "c"] [default: "e"]
-v, --version Show version number [boolean]
-h, --help Show help [boolean]
Examples:
birthday 1997 05 08 Parameter date format
birthday 1997-05-08 ISO-8601 standard date format
birthday 05/08/1997 US date format
birthday 1997/05/08 US variant date format
birthday May 8, 1997 written date format
-------
birthday 1997-5-8 Birth year birthday (Lunar Calendar)
birthday -m n 1997-5-8 Birthday this year (Gregorian Calendar)
birthday -m d 1997-5-8 Birthdays in the next ten years (Gregorian Calendar)
birthday -m c 1997-5-8 Birthday in century year (Gregorian Calendar)
* Valid input dates are between 1900-01-31 and 2100-12-31
่ฏญ่จๅ็งฐ | ๆฌๅฐๅ็งฐ | ISO-639-1 | ISO-3166-1 (Alpha-2) | ๆไปถ |
---|---|---|---|---|
English | - | en | US | en-US.ts |
Japanese | ๆฅๆฌ่ช | ja | JP | ja-JP.ts |
Korean | ํ๊ตญ์ด | ko | KR | ko-KR.ts |
Vietnamese | Tiแบฟng Viแปt | vi | VN | vi-VN.ts |
Chinese Simplified | ็ฎไฝไธญๆ | zh | CN | zh-CN.ts |
Chinese Traditional | ็น้ซไธญๆ | zh | TW | zh-TW.ts |
- lunar-date-fns - ๐๏ธ A JavaScript lunar date utility library.
Contributions via Pull Requests or Issues are welcome.
This project is licensed under the MIT License. See the LICENSE file for details.