@sergeym/statistics

Statistics saver.

Usage no npm install needed!

<script type="module">
  import sergeymStatistics from 'https://cdn.skypack.dev/@sergeym/statistics';
</script>

README

Statistics

Simple statistics module for personal use.

Dependencies

MongoDB required.

Default parameters

{
  "servicesConfig": {
    "statistics": {
      "routePrefix": "",
      "bufferSize": 100,
      "sessionExpireSeconds": 60 * 60,
      "timerCheckSecond": 10 * 60
    }
  }
}