New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ehou

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ehou

西暦に応じた恵方を取得することができるライブラリ

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

ehou

npm version build codecov License

ko-fi

Overview

西暦に応じた恵方を取得することができるライブラリ

Notes

Installation

You can install this library using npm:

npm install ehou

Usage

Node.js

// Create an instance
// Year props is optional.
const year = 2022;
const ehou = new Ehou(year);

// output

// Current Year
console.log(ehou.current);

// Last Year
console.log(ehou.last);

// Next Year
console.log(ehou.last);

Output

Sample

Ehou: {
  ehou: {
    direction: {
      azimuth: 345,
      text: "北北西"
    },
    hira: "みずのえ",
    kana: "ミズノエ",
    lastDigitOfTheYear: 2,
    name: "壬",
    romaji: "mizunoe",
  },
  year: 2022
}

Type

{
  ehou: {
    name: string;
    hira: string;
    kana: string;
    romaji: string;
    direction: {
      text: string;
      azimuth: number;
    }
    lastDigitOfTheYear: number;
  }
  [];
  year: number;
}

Detail

keydetailtype
name年の十干string
hiraひらがな表記string
kanaカタカナ表記string
romajiローマ字表記string
direction恵方情報object
text16方位string
azimuth方位角number
lastDigitOfTheYear西暦年の1の位number
year西暦(4桁)number

License

This project is licensed under the MIT License - see the LICENSE file for details.

FAQs

Package last updated on 28 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts