Skip to content

kurone-kito/dantalion

Repository files navigation

šŸ¦ Dantalion: Birthday fortune app

npm version lerna

ā€œDantalionā€ is the seventy-first demon in the demonological grimoire, the Lesser Key of Solomon. He teaches all kinds of academic knowledge, but he can also read and manipulate othersā€™ hearts.

If you can predict the other personā€™s character, you can increase the possibility of controlling the other personā€™s will. This app provides a function that calculates the personality details from the specified birthday. Its calculation includes the method of Four Pillars of Destiny (Ba-Zi).

The app can specify a birthday within the range from February 1, 1873, to December 31, 2050.

Note

  • OS independent and the core library part is dependent free.
  • This package does not consider time zones. If you are not satisfied with the calculated personality, moving the date back and forth may solve.

Usage

Require: Node.js >= v12.1

For those who want to use this app with CLI

npm install -g @kurone-kito/dantalion-cli
dantalion personality 1993-10-09
dantalion detail 555

For those who want to embed this library in your node.js app

npm install --save @kurone-kito/dantalion-core
import { getDetail, getPersonality } from '@kurone-kito/dantalion-core';
// const { getDetail, getPersonality } = require('@kurone-kito/dantalion-core');

console.log(getPersonality('1993-10-09'));
console.log(getDetail('555'));

See the wiki for more details.

License

MIT