Skip to content
Commits on Source (2)
......@@ -30,6 +30,7 @@ const {
performGetOnProperties,
purge,
} = require('./object');
const { capitalize } = require('./string');
module.exports = expose({
asArray,
......@@ -37,6 +38,7 @@ module.exports = expose({
buildParamString,
buildUrl,
callOrNothingAtAll,
capitalize,
cloneWithout,
dictionary,
expose,
......
const expose = require('./expose');
const capitalize = string =>
string.replace(/^./, function Upper(match) {
return match.toUpperCase();
});
module.exports = expose({
capitalize,
});