Optional
language: "en" | "es" | "ca" = 'en'The language code for which translations are needed. Defaults to 'en'.
An array of House objects with translated values based on the specified language.
import { getHouses } from 'western-houses';
// Retrieve information about all houses in English
const data = getHouses();
console.log(data);
// Output:
// [
// {
// number: 1,
// title: 'The individual personality',
// sign: 'Aries',
// rulingPlanet: 'Mars',
// keywords: [
// 'Self-image',
// 'Identity',
// 'Impressions on others',
// 'Personality'
// ]
// },
// ...
// ]
Get all astrological houses with their translations for a specified language.