node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

is-leap-year

check if the given year is a leap year

is-leap-year

check if the given year is a leap year

Install with component(1):

$ component install stephenmathieson/is-leap-year

Install with npm:

$ npm install is-leap-year

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

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

MIT