GithubHelp home page GithubHelp logo

keisukeyamashita / hyacinth Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 369 KB

Light weight JavaScript library for star sign ๐Ÿ”ฎ๐Ÿ’ซ๐Ÿ”ฏ

TypeScript 97.37% JavaScript 2.63%
typescript starsign javascript

hyacinth's Introduction

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

hyacinth's People

Contributors

dependabot[bot] avatar keisukeyamashita avatar mergify[bot] avatar renovate-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

hyacinth's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency chai to v5
  • Update dependency typescript to v5
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/test.yml
  • actions/checkout v1
  • actions/setup-node v1
npm
package.json
  • dayjs ^1.8.16
  • @types/chai 4.2.14
  • @types/jest 24.9.1
  • @types/mocha 5.2.7
  • chai 4.2.0
  • jest 24.9.0
  • mocha 6.2.3
  • ts-jest 26.4.2
  • ts-node 9.0.0
  • typescript 4.0.5

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.