Skip to content

genki28/smart-calc-month

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-calc-month

Wouldn't you like to be free from the tedious calculation of days?

Getting

The first step when using smart-calc-month is installing its npm package:

$ yarn add smart-calc-month

or

$ npm install smart-calc-month

How to use

import SmartCalcMonth from "smart-calc-month";

const smartCalcMonth = new SmartCalcMonth(2021, 8)
smartCalcMonth.isLeapYear(); // false
smartCalcMonth.calcDayInMonth(); // 31

About

Isn't it a hassle to calculate the number of days?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published