1.0.0 • Published 4 years ago

whatsprintisit v1.0.0

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

A library for telling what sprint it is.

This library exports 3 functions:

  • getSprint(date: number | Date | undefined) returns the sprint and week for the given date, or if no date is given, the current date.
  • getSprintSpan(sprint: number) returns the start and end times of the given sprint.
  • getSprintWeekSpan(sprintWeek: { sprint: number, week: number}) returns the start and end of the given week of the given sprint.

This library performs remarkably little sanity checking of its arguments. Garbage in, garbage out.

1.0.0

4 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.2

5 years ago