days-in-month

get the number of days in the given month

days-in-month

get the number of days in the given month (Gregorian calendar)

Install with component(1):

$ component install stephenmathieson/days-in-month

Install with npm:

$ npm install days-in-month

get the number of days in the month of the provided date

get the number of days in the provided month; assumes current year

get the number of days in the provided year/month pair

MIT