7 lines
126 B
JavaScript
7 lines
126 B
JavaScript
import * as Moon from 'lunarphase-js';
|
|
|
|
const phase = Moon.getLunarPhase();
|
|
function writePhase(){
|
|
document.write(phase);
|
|
}
|