@observerly/astrometry
Version:
observerly's lightweight, zero-dependency, type safe astrometry library written in Typescript for calculating the position of celestial objects in the sky.
5 lines (4 loc) • 404 B
JavaScript
;// @license Copyright © 2021-2023 observerly
const n=e=>new Date(e.toISOString());// @license Copyright © 2021-2023 observerly
const t=e=>n(e).getTime()/864e5+24405875e-1,u=e=>t(e)-24000005e-1,r=e=>(t(e)-2451545)/36525;exports.getJulianDate=t;exports.getModifiedJulianDate=u;exports.getNumberOfCenturiesSinceJ2000=r;exports.utc=n;
//# sourceMappingURL=epoch-BuLOjzKu.cjs.map