Files
30-seconds-of-code/node_modules/markdown-builder/lib/util/helpers.js
2019-08-20 15:52:05 +02:00

20 lines
358 B
JavaScript
Executable File

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
/**
* Utility functions & helpers
*
*/
var withPrefix = function withPrefix(prefix, text) {
return prefix + ' ' + text;
};
var surround = function surround(prefix, text) {
return prefix + text + prefix;
};
exports.withPrefix = withPrefix;
exports.surround = surround;