1.6.2 • Published 12 months ago

get-women-period v1.6.2

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

npm install get-women-period

\\\\\\\\\\\\\\\\\\\ 💡 Example usage

// Array of cycle lengths for the first three months

const cycleLengthData = [28, 30, 26];

// Array of start dates of periods

const periodStartDatesData = [new Date('2023-01-01'),new Date('2023-02-06')];

const result = calculateWomanPeriod(cycleLengthData, periodStartDatesData);

console.log(result);

//output