Miss any of our Open RFC calls?Watch the recordings here! »

@quartz/is-go-go-day

1.1.0 • Public • Published

is-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

Keywords

none

Install

npm i @quartz/is-go-go-day

DownloadsWeekly Downloads

4

Version

1.1.0

License

ISC

Unpacked Size

3.38 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar