Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calendar-dates

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendar-dates

Get calendar dates for a given month - Mostly for creating a custom calendar control

  • 2.7.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NPM

All Contributors Minzipped Size Minified Size
Maintainability Test Coverage Known Vulnerabilities

calendar-dates

📆 Get a list of calendar dates with no external dependencies.

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.5.1

Fix data for December and January dates #33 by ewolfe. Decided to bump up the minor as it was a significant bug fix.

Decision based on React team's decision (even though this is not a React component) on releasing v16.7 not including Hooks.

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

Contributors

Thanks goes to these wonderful people (emoji key):

Sung Kim
Sung Kim

💻 🎨 ⚠️
ewolfe
ewolfe

💻 ⚠️
Dave Follett
Dave Follett

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Package last updated on 25 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc