1.1.3 • Published 3 years ago

days-until-christmas v1.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

Days Until Christmas

This package keeps track of days until the 24th of December.

Try it out here!

Install

npm i --save days-until-christmas
# OR
yarn add days-until-christmas

Usage

There are four ways to use this package:

Through the command-line

npx days-until-christmas # Can be used without installation
# OR
days-until-christmas # Requires a global installation of the package
# E.g: `npm i -g days-until-christmas` OR `yarn add global days-until-christmas`

In Node.js

const daysUntilChristmas = require("days-until-christmas");

console.log(daysUntilChristmas());

In a create-react-app

import daysUntilChristmas from "days-until-christmas";

console.log(daysUntilChristmas());

In any browser

<script type="module">
  import daysUntilChristmas from "https://cdn.jsdelivr.net/npm/days-until-christmas@latest/index.mjs";

  console.log(daysUntilChristmas());
</script>
1.1.1

3 years ago

1.1.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago