0.6.0 • Published 1 year ago
find-horoscope v0.6.0
Find Horoscope
Gives your horoscope and chinese horoscope based on your date of birth. Also has multi-language support
Install
npm i find-horoscopeUsage
findHoroscope.getZodiac(BirthDate, LangCode)
import { FindHoroscope } from "find-horoscope";
const birthDate:Date = new Date('March 20, 1995 13:24:00');
const findHoroscope = new FindHoroscope();
console.log(findHoroscope.getZodiac(birthDate, 'tr'));
//Balık
console.log(findHoroscope.getChineseZodiac(birthDate, 'en'));
//PigSupported Lang Codes:
| LangCode | Description |
|---|---|
| tr | Turkish |
| en | English |
| it | Italian |
| fr | French |