Package Exports
- astroreha
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (astroreha) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Reha Astrology
Doesn't work in browser environments. Please run on server
npm i -S astroreha- Default House System:
Whole Sign - Default Ayanamsha Used:
Lahiri - Compatibility can have maximum 30 points. Default threshold for matching is 12. (>=12)
Get Birth Chart
const astroreha = require("astroreha");
// Get Birth Chart Details
/**
* @param {String} dateString format YYYY-MM-DD
* @param {String} timeString format HH:MM:SS
* @param {Number} lat latitude
* @param {Number} lng longitude
* @param {Number} timezone timezone in hours
*/
const birthChart = astroreha.positioner.getBirthChart("1999-05-22", "08:00:00", 28.6139, 77.209, 5.5);
// Get Rashi
birthChart.meta.Mo.rashi // Rashi is Moon Sign in Indian Astrology
// Get Sun Sign
birthChart.meta.Su.rashi
// Get Grahas in a certain Rashi
birthChart.aries.signs // returns an array of grahas
// Get compatibility (returns Boolean)
astroreha.compatibility.areCompatible({dateString, timeString, lat, lng, timezone}, {dateString, timeString, lat, lng, timezone});Breaking Changes
- Not a default Export anymore
- Gives Positioner and Compatibility Feature