add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NUMBERS = void 0;
const messages_js_1 = require("../messages.js");
function numberToWords(num) {
const digits = num.toString().split('');
return digits
.map(function (digit) {
return exports.NUMBERS.ones[parseInt(digit, 10)];
})
.join('');
}
exports.NUMBERS = (0, messages_js_1.NUMBERS)({
numberToWords: numberToWords,
numberToOrdinal: numberToWords
});