Light weight JavaScript library for star sign
Princess Hyacinth, Alfons Maria Mucha
Install by these commands.
npm install @keisukeyamashita/hyacinth
or
yarn add @keisukeyamashita/hyacinth
The sample is here.
import hyacinth from '@keisukeyamashita/hyacinth'
import dayjs from 'dayjs'
const starsign = hyacinth(dayjs()).starSign();
console.log(starsign.name);
$ ts-node index.ts
=> "éšåº§"
The response will be in this format.
type SignStar interface {
id: number
name: string
borderValue: number
}
dayjs
Object- Native
Date
Object(not yet:<)