giboow / mooncalc

JavaScript library for calculating moon position, phases and zodiac sign
BSD 3-Clause "New" or "Revised" License
39 stars 8 forks source link

⚠️ PROJECT NOT LONGER SUPPORTED ⚠️

mooncalc

JavaScript library for calculating moon position, phases and zodiac sign, created by Philippe Gibert (@giboow).

Usage example :

// get datas for current day :
var date = new Date();
var moonDatas = MoonCalc.datasForDay(date);

Using in a server environment

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');