
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@kabeep/zodiac-animals
Advanced tools
Considering tree-shaking and the rigor required due to cultural differences, the output will exclude i18n content.
A lite utility library using Lunar Calendar.
See documentation.
npm install @kabeep/zodiac-animals --save
yarn add @kabeep/zodiac-animals
pnpm add @kabeep/zodiac-animals
const { ANIMALS, zodiac, Zodiac: IZodiac } = require('@kabeep/zodiac-animals');
import { ANIMALS, zodiac, type Zodiac } from '@kabeep/zodiac-animals';
zodiac(date)zodiac(new Date()) as Zodiac;
| Parameter | Type | Optional | Default | Description |
|---|---|---|---|---|
date | Date | No | - | Date Object of Gregorian Calendar |
interface ZodiacResult Object:
| Key | Type | Required | Description |
|---|---|---|---|
name | string | true | Zodiac Animal Name |
mate | string[] | true | Zodiac Animal Mates |
traits | string[] | true | Zodiac Animal Traits |
alias | string | false | Zodiac Animal i18n Alias |
year | number | true | Lunar Year of Date Input |
month | number | true | Lunar Month of Date Input |
day | number | true | Lunar Day of Date Input |
isLeapMonth | boolean | true | Lunar Leap Month Flag of Date Input |
from | Date | true | Gregorian Date of the First Day of the Lunar Year (Return an Invalid Date if an Exception Occurs) |
to | Date | true | Gregorian Date of the Last Day of the Lunar Year (Return an Invalid Date if an Exception Occurs) |
Contributions via Pull Requests or Issues are welcome.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A JavaScript zodiac animals utility library
The npm package @kabeep/zodiac-animals receives a total of 4 weekly downloads. As such, @kabeep/zodiac-animals popularity was classified as not popular.
We found that @kabeep/zodiac-animals demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.