An open API service indexing awesome lists of open source software.

https://github.com/kurone-kito/dantalion

🦁 CLI app and NPM library that calculates the personality from the birthday; since 2020.2
https://github.com/kurone-kito/dantalion

bazi birthday chinese-astrology cli-app divination fortune lerna-monorepo monorepo-example nodejs-app npm-package self-assessment ziweidoshu zodiac-algorithm

Last synced: about 2 months ago
JSON representation

🦁 CLI app and NPM library that calculates the personality from the birthday; since 2020.2

Awesome Lists containing this project

README

        

# 🦁 Dantalion: Birthday fortune app

[![npm version](https://badge.fury.io/js/%40kurone-kito%2Fdantalion-cli.svg)](https://badge.fury.io/js/%40kurone-kito%2Fdantalion-cli)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

ā€œDantalionā€ is the seventy-first demon in the demonological grimoire, _[the Lesser Key of Solomon](https://en.wikipedia.org/wiki/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)](https://en.wikipedia.org/wiki/Four_Pillars_of_Destiny)_.

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

```sh
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

```sh
npm install --save @kurone-kito/dantalion-core
```

```ts
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.](https://github.com/kurone-kito/dantalion/wiki)_

## License

MIT