3.0.1 • Published 2 years ago

sympto v3.0.1

Weekly downloads
3
License
AGPL-3.0-or-later
Repository
gitlab
Last release
2 years ago

Sympto

Accepts an array of cycle days (one cycle) and returns the symptothermal status for that cycle. Run node example.js for a demo.

Find out more about the symptothermal method (in German).

Usage

Pass in all necessary info as an object with the following properties:

  • cycle: An array of the cycle's days in object form. See these assertions for how to format them.
  • previousCycle (optional): Same format as cycle. Sympto must be able to detect ovulation in the previous cycle in order to detect a pre-ovulatory phase.
  • earlierCycles (optional): Needed to correctly determine pre-ovulatory phase length.
  • secondarySymptom (default: mucus): Determines which values are used for symptothermal evaluation, can be 'mucus' or 'cervix.
  • excludePreOvu (default: false): Pass in true if you don't want the pre-ovulatory phase to be included in the status.
3.0.1

2 years ago

3.0.0

2 years ago

2.0.0

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago