🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@kabeep/lunar-birthday-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kabeep/lunar-birthday-cli

A Node.js Library to list the lunar birthday in terminal

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

lunar-birthday-cli

NodeJS Install Size NPM XO code style License

English | 简体中文

Insights

usage-png

📖 Introduction

A Node.js Library to list the lunar birthday in the terminal.

⚙️ Installation

npm install --global @kabeep/lunar-birthday-cli
yarn add --global @kabeep/lunar-birthday-cli
pnpm add --global @kabeep/lunar-birthday-cli

🚀 Usage

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

🌐 i18n

语言名称本地名称ISO-639-1ISO-3166-1 (Alpha-2)文件
English-enUSen-US.ts
Japanese日本語jaJPja-JP.ts
Korean한국어koKRko-KR.ts
VietnameseTiếng ViệtviVNvi-VN.ts
Chinese Simplified简体中文zhCNzh-CN.ts
Chinese Traditional繁體中文zhTWzh-TW.ts
  • lunar-date-fns - 🗓️ A JavaScript lunar date utility library.

🤝 Contribution

Contributions via Pull Requests or Issues are welcome.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Keywords

lurna

FAQs

Package last updated on 06 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts