SkillAgentSearch skills...

Planetary

Calculate planetary positions in the solar system.

Install / Use

npx skills add johntitus/planetary

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Planetary

Planetary calculates planetary alignments for a given date, as viewed from Earth (geocentric).

Installation

  1. Install Node, if you haven't already:

http://nodejs.org/

  1. NPM install Planetary:

npm install planetary

Example

var planetary = require('planetary');
var now = new Date();
var maxSeparation = 8; // maximum degrees of separation of planets. Default is 5.
var alignments = planetary.alignments( now, maxSeparation );

The result is an array of planetary alignments for the given date. Each alignment is, itself, an array, listing the planets in the alignment.

Source

Derived from https://github.com/lhartikk/AstroBuild

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated4y ago
Forks2

Languages

JavaScript

Security Score

70/100

Audited on Jun 3, 2022

No findings