0.1.1 • Published 7 years ago
joints-reducer v0.1.1
Joints Reducer
A simple tool to calculate how much a group of people share something recurrently.
Install
npm i --save joints-reducer
or
yarn add joints-reducer
Usage
import JointsReducer from 'joints-reducer';
const A = 'albert';
const B = 'bernard';
const C = 'carl';
JointsReducer({
amount: 100,
entries: [
[20, A, B],
[17, A, C],
[7, C, B]
]
});
See also examples.