Discover the zodiac sign and know what their information, such as elements and behavioral characteristics.
♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓
Via Node.js run the following:
$ npm i mzsi --save
import mzsi from 'mzsi';
let day = 22,
month = 8;
let sign = mzsi(month, day);
console.log(sign.name); // Leo
console.log(sign.symbol); // ♌
console.log(sign.about.element); // Fire
console.log(sign.about.keywords.strength); // ["confident", "ambitious", "generous", "loyal", "encouraging"]
console.log(sign.about.keywords.weakness); // ["pretentious", "domineering", "melodramatic", "stubborn", "vain"]
Returns an object with:
name
(string) - The name of sign.symbol
(unicode char) - The representative symbol.about
(object) - The informations of element and characteristics.
Currently, the mzsi has translate with two languages (pt-br, en-us). You can choose via language
parameter.
- mzsi-cli - CLI for this module.
MIT © Cauê Alves