sabius-manager-publications
v0.14.3
Published
A npm module for managing in a developer-friendly way the publications data
Downloads
8
Readme
Governify Module Sabius Manager Publications
A library for managing in a developer-friendly way publications data
Installation
npm install sabius-manager-publications
Usage
First, you need to import the module in your code by
const PublicationsManager = require('sabius-manager-publications')
And create a new PublicationManager
object with your author and publication data.
const publicationsManager = new PublicationManager(authorData, publicationData)
Then you can invoke all the class methods an get the results
publicationsManager.getPublicationsPerYear(2000, 2006)
publicationsManager.getCitesPerYear(2016, 2018)
publicationsManager.getPublicationsInRange(2000, 2015)
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