node-dateutils

0.1.0 • Public • Published

node-dateutils

simple query periods in Day, Week, Month, Year

获取常用的某段时期(某日/某周/某月/某年)


depends

moment: ^2.22.2

examples

 
const dateutils = require('node-dateutils');
 
// date: yyyy-mm-dd
// week: GGGG-[W]WW
// month: yyyy-mm
// year: yyyy
// history: history
 

Package Sidebar

Install

npm i node-dateutils

Weekly Downloads

16

Version

0.1.0

License

MIT

Unpacked Size

19.2 kB

Total Files

7

Last publish

Collaborators

  • dodoru