Optional
lang: "en" | "es" = 'en'The language code for which translations are needed. Defaults to 'en'.
An array of Sign objects with translated values based on the specified language.
import { getSigns } from 'western-signs';
// Retrieve information about all signs in English
const data = getSigns();
console.log(data);
// Output:
// [
// {
// name: 'Aries',
// element: 'Air',
// modality: 'Cardinal',
// rulingPlanet: 'Mars',
// symbol: '♈'
// },
// {
// name: 'Taurus',
// element: 'Earth',
// modality: 'Fixed',
// rulingPlanet: 'Venus',
// symbol: '♉'
// },
// ...
// ]
Get all astrological signs with their translations for a specified language.