work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/function-buffer.11ty.js

4 lines
82 B
JavaScript

module.exports = function(data) {
return Buffer.from(`<p>${data.name}</p>`);
};