@keisukeyamashita/hyacinth
v1.0.11
Published
Light weight Javascript library for star sign
Downloads
2
Readme
Hyacinth
Light weight JavaScript library for star sign
How to use
Install
Install by these commands.
npm install @keisukeyamashita/hyacinth
or
yarn add @keisukeyamashita/hyacinth
In your code
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
=> "魚座"
Response
The response will be in this format.
type SignStar interface {
id: number
name: string
borderValue: number
}
Support
dayjs
Object- Native
Date
Object(not yet:<)