Natural Preference for Minification
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

calendar-dates

2.4.4 • Public • Published

NPM

❓ What is this?

Get a list of calendar dates.
without an External Dependency

You can use this to create your own calendar controls

🗜️ Installation

npm i calendar-dates
# or 
yarn add calendar-dates

How to use it

Full documentation.

Change Log

2.4.0

Fixed ISO8601 date return value to match current date.

  • Thank you again ewolfe 👊.

2.3.0

  1. Returns ISO8601 date.
  2. Removed package-lock.json, which was accidentally added by using npm instead of yarn.

2.0.0

Removed all methods except two methods, which return a promise.

  1. getDates(date)
  2. getMatrix(date)

Following methods are removed

  1. getDatesAsync
  2. getMatrixAsync
  3. getDatesWithMetadata
  4. getDatesWithMetadataAsync
  5. getMatrixWithMetadata
  6. getMatrixWithMetadataAsync

1.1.2

Updated README to include *WithMetadata examples

1.1.1

Fixed runtimeGenerator issue

1.1.0

Added *WithMetadata methods

1.0.0

Added "*Async" versions

License

MIT
FOSSA Status

install

npm i calendar-dates

Downloadsweekly downloads

324

version

2.4.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability