Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 492 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 492 Bytes

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.