Skip to content

KeisukeYamashita/hyacinth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyacinth

CI npm version GitHub license PRs Welcome

Light weight JavaScript library for star sign


WIAS

Princess Hyacinth, Alfons Maria Mucha


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:<)

Author

About

Light weight JavaScript library for star sign 🔮💫🔯

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •