### Installation Commands Source: https://github.com/timotejroiko/sweph/blob/main/README.md Commands to install the Sweph library on npm, with specific instructions for different licensing versions. ```shell npm install sweph@gpl # or npm install sweph@2.10.0 ``` ```shell npm install sweph # or npm install sweph@latest ``` -------------------------------- ### Setting Ephemeris Path Source: https://github.com/timotejroiko/sweph/blob/main/README.md Function to configure the directory where ephemeris files are stored. This is crucial for enabling high-precision calculations. ```javascript import { set_ephe_path } from 'sweph'; // Assuming ephemeris files are in a folder named 'ephe' set_ephe_path('/path/to/your/ephe/folder'); ``` -------------------------------- ### Setting Sidereal Mode Source: https://github.com/timotejroiko/sweph/blob/main/README.md Function to set the sidereal mode for calculations. This function, like `set_ephe_path`, affects the entire process and all worker threads. ```javascript import { set_sid_mode } from 'sweph'; // Example: Set to tropical mode (0) or sidereal mode (1, 2, etc.) set_sid_mode(0); // Tropical mode ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.