chart2txt 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A TypeScript library that converts astrological chart data to human-readable text.
|
|
4
4
|
|
|
5
|
+
[](https://badge.fury.io/js/chart2txt)
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
- Convert planet positions to text descriptions of their zodiac signs
|
|
@@ -21,9 +23,9 @@ import { chart2txt } from 'chart2txt';
|
|
|
21
23
|
|
|
22
24
|
const chartData = {
|
|
23
25
|
planets: [
|
|
24
|
-
{ name: 'Sun',
|
|
25
|
-
{ name: 'Moon',
|
|
26
|
-
{ name: 'Mercury',
|
|
26
|
+
{ name: 'Sun', degree: 35 }, // 5° Taurus
|
|
27
|
+
{ name: 'Moon', degree: 120 }, // 0° Leo
|
|
28
|
+
{ name: 'Mercury', degree: 75 } // 15° Gemini
|
|
27
29
|
],
|
|
28
30
|
ascendant: 0 // 0° Aries
|
|
29
31
|
};
|