1.0.0 • Published 1 month ago

carolscott v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Carolscott

A Node.js module for carolscott calculations.

Installation

You can install this module via npm: npm install carolscott

Usage

const lunarUtils = require('lunar-utils');

// Get the current lunar phase
const phase = lunarUtils.getLunarPhase(new Date());
console.log("Current lunar phase:", phase);

// Get the current lunar distance
const distance = lunarUtils.getLunarDistance({ lat: 51.5074, lng: 0.1278 }); // London's coordinates
console.log("Current lunar distance:", distance);