'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.normalise = normalise;

var _unitNormaliser = require('./unitNormaliser');

var _unitNormaliser2 = _interopRequireDefault(_unitNormaliser);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var normaliser = new _unitNormaliser2.default();
normaliser.addAlias('hours', 'hour');
normaliser.addAlias('hours', 'h');
normaliser.addAlias('days', 'd');
normaliser.addAlias('days', 'day');
normaliser.addAlias('minutes', 'm');
normaliser.addAlias('minutes', 'minute');
normaliser.addAlias('minutes', 'min');
normaliser.addAlias('minutes', 'mins');

function normalise(name) {
  return normaliser.normalise(name);
}