Skip to content

christmas-countdown/christmas.js

Repository files navigation

christmas.js

Get the number of months, weeks, days, hours, minutes, seconds, or the total time left until Christmas (with timezone support).

Installation

Install with npm/pnpm/yarn:

npm i @eartharoid/christmas

Usage

Example

const christmas = require('@eartharoid/christmas');
console.log(christmas.getDays());

API

View the JSDoc documentation at js.docs.christmascountdown.live.