1.0.0 • Published 7 years ago

12zodiac v1.0.0

Weekly downloads
48
License
MIT
Repository
github
Last release
7 years ago

12 Zodiac

Calculate out which zodiac one certain day is.

This package was known as node-constellation before.

Installation

$ npm install 12zodiac --save

API

constellation(MONTH, DAY[, i18n]);

eg.

const zodiac = require("12zodiac");
const z1 = zodiac(12, 19, "zh-cn"); //< 射手座
const z2 = zodiac(11, 14, "en");
const z3 = zodiac(1, 1, "zh-tw");
const z4 = zodiac(1, 1);

Supported Languages

Contributors

You can contribute to it and make pull request to support other languages or functions.

Attention: in alphabetical order.