Governify Module Sabius Manager Stats

A library for calculating stats regarding publications data

Installation

npm install sabius-manager-stats

Usage

First, you need to import the module in your code by

const statsManager = require('sabius-manager-stats')

Then you can invoke all the class methods an get the results

statsManager.percentOverTotal(object, 'publications', 20)

statsManager.averageProperty(object, 'cites')

You can read the full documentation here

Tests

All tests are developed using mocha framework and chai. To run all tests you just need to do:

  yarn install
  yarn test