@muyi086/calendar
v1.0.8
Published
calendar and Lunar calendar
Downloads
8
Readme
calendar
Install
npm install @muyi086/calendar
# common JS
const { calendar } = require('@muyi086/calendar')
# es6
import { calendar } from '@muyi086/calendar'
Use
// all data is in object @muyi086/calendar after init
console.log(calendar)
Attr explain
currentMonthDay
: daily infocurrentMonthFarmDay
: daily info with Lunar
Function
function|parameter|default|required|description| --|--|--|--|--| search|date string|string|required|self-defined search with a date string like '2019.12.12'或'2019-12-12'或'2019/12/12'|