Celestine is a TypeScript astrology and astronomy engine with zero runtime dependencies. It runs in browsers and Node under the MIT license. Positions are verified against committed JPL Horizons fixtures; the accuracy report records sampled errors and scope.
npm install celestine
import { time, ephemeris, zodiac } from 'celestine';
const jdUT = time.toJulianDate({ year: 2000, month: 1, day: 1, hour: 12, minute: 0, second: 0 });
const jdTT = time.toTT(jdUT);
const sun = ephemeris.getSunPosition(jdTT);
console.log(zodiac.eclipticToZodiac(sun.longitude).formatted);
Civil dates convert to UT; ephemeris getters take TT. See the guide for frames and chart inputs.