find-horoscope
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

Find Horoscope

Node.js CI Publish Package to npmjs

Gives your horoscope and chinese horoscope based on your date of birth. Also has multi-language support

Install

npm i find-horoscope

Usage

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'));
//Pig

Supported Lang Codes:

LangCode Description
tr Turkish
en English
it Italian
fr French

Package Sidebar

Install

npm i find-horoscope

Weekly Downloads

0

Version

0.5.0

License

ISC

Unpacked Size

19.9 kB

Total Files

24

Last publish

Collaborators

  • cankatabaci