is-leap-year

0.1.0 • Public • Published

is-leap-year

check if the given year is a leap year

Installation

Install with component(1):

$ component install stephenmathieson/is-leap-year

Install with npm:

$ npm install is-leap-year

API

isLeapYear(Date)

Check if the year of the given Date is is a leap year

isLeapYear(year)

Check if the given year (Number) is a leap year

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    638
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    638

Package Sidebar

Install

npm i is-leap-year

Weekly Downloads

333

Version

0.1.0

License

MIT

Last publish

Collaborators

  • stephenmathieson