@keisukeyamashita/hyacinth
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @keisukeyamashita/hyacinth

Weekly Downloads

12

Version

1.0.11

License

MIT

Unpacked Size

10.4 kB

Total Files

12

Last publish

Collaborators

  • keisukeyamashita