month-season

1.0.0 • Public • Published

season

🌒根据月份获取季节.

注意

季节的划分按照气象法划分.阳历3~5月为春季,6~8月为夏季,9~11月为秋季,12~来年2月为冬季。

安装

npm install month-season

使用

const season = require('node-season');
season();       //获取当前季节
season(7);      //夏
season(7,'en'); //summer

Package Sidebar

Install

npm i month-season

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.53 kB

Total Files

4

Last publish

Collaborators

  • toddtodd