@eartharoid/christmas

Get the time left until Christmas

Usage no npm install needed!

<script type="module">
  import eartharoidChristmas from 'https://cdn.skypack.dev/@eartharoid/christmas';
</script>

README

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.