JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q38592F
  • License MIT

My zodiac sign is... Discover based on a date and know what their information, such as elements and behavioral characteristics.

Package Exports

  • mzsi

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mzsi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

My Zodiac Sign Is Build Status Dependency Status Npm Package Version codecov

Discover the zodiac sign and know what their information, such as elements and behavioral characteristics.

♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓


Install

Via Node.js run the following:

$ npm i mzsi --save

Usage

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"]

API

mzsi(month, day, language)

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.

License

MIT © Cauê Alves