⚠️ PROJECT NOT LONGER SUPPORTED ⚠️
JavaScript library for calculating moon position, phases and zodiac sign, created by Philippe Gibert (@giboow).
// get datas for current day :
var date = new Date();
var moonDatas = MoonCalc.datasForDay(date);
In addition to browsers, MoonCalc can be used in server environments like Node,
and is available as an NPM package (npm install mooncalc
).
var MoonCalc = require('mooncalc');