A library of functions, data and schema for Athletics (i.e. Track and Field)
$ npm install --save athlib
Please note that this library is a work in progress and the functionality will be extended and changed without notice until a stable version can be released.
var athlib = require('athlib');
console.log(athlib.utils.normalizeGender('Male')) // == 'm'
Mocha is used for unit testing. Run the following command to run all test and generate the lcov report
$ npm test
or if you have mocha installed globally
$ npm install --global mocha
$ mocha
ESLint is used for code quality standards.
Install globally
$ npm install -g eslint
then run
$ eslint ./
Apache-2.0 © benjamintoomer