"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.deSlug = exports.capitalize = void 0;

const capitalize = str => !str ? '' : str.slice(0, 1).toUpperCase() + str.slice(1);

exports.capitalize = capitalize;

const deSlug = str => !str ? '' : str.replace(/-/g, ' ');

exports.deSlug = deSlug;