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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. 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
+ [![npm version](https://badge.fury.io/js/chart2txt.svg)](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', longitude: 35 }, // 5° Taurus
25
- { name: 'Moon', longitude: 120 }, // 0° Leo
26
- { name: 'Mercury', longitude: 75 } // 15° Gemini
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chart2txt",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Convert astrological chart data to human-readable text",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",