You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

tao_taichi.js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tao_taichi.js

阴阳分,五行衍

0.0.1
Source
npmnpm
Version published
Weekly downloads
6
-45.45%
Maintainers
1
Weekly downloads
 
Created
Source

TaiChi.js

use

create

const { Phases } = require("tao_taichi.js");
<!-- 0~4=>金水木火土 -->
const ele = new Phases(0~4);

生=>我生者

ele.promotion();
ele.sheng();
ele.get("生");

被生/泄=>生我者

ele.promoted();
ele.xie();
ele.get("泄");

被克/耗=>克我者

ele.restrained();
ele.hao();
ele.get("耗");

克=>我克者

ele.restraint();
ele.ke();
ele.get("克");

ele.vigorous();
ele.wang();
ele.get("旺");

ele.second();
ele.xiang();
ele.get("相");

ele.rest();
ele.xiu();
ele.get("休");

ele.imprison();
ele.qiu();
ele.get("囚");

ele.death();
ele.si();
ele.get("死");

输出字或序号

ele => 金
ele.death(true) => "木"
ele.death() => 2

判断与另外一个五行关系

ele.with("金")
result: 0~4=>旺相休囚死/X生泄耗克

Keywords

tao

FAQs

Package last updated on 06 May 2023

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