@quartz/is-go-go-day
v1.1.0is-go-go-day
Determine if a day is a GO! GO! Day.
const { isGoGoDay } = require( '@quartz/is-go-go-day' );
console.log( isGoGoDay() );
console.log( isGoGoDay( new Date('2020-01-14') ) );
console.log( isGoGoDay( new Date('2020-01-15T00:00:00-05:00') ) );
Or get a list of all GO! GO! Days for a given year.
const { getGoGoDays } = require( '@quartz/is-go-go-day' );
console.log ( getGoGoDays( 2020 ) );
Development
To build: npm run build
To run tests: npm test
To run lint: npm run lint
To autofix: npm run lint:fix