12zodiac

1.0.0 • Public • Published

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

  • ar
  • en [default]
  • symbol
  • zh-cn
  • zh-tw

Contributors

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

Attention: in alphabetical order.

Package Sidebar

Install

npm i 12zodiac

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • xadillax