1
0
Fork 0
hugo/internal/warpc/js/greet.js

10 lines
238 B
JavaScript

import { readInput, writeOutput } from './common';
const greet = function (input) {
writeOutput({ header: input.header, data: { greeting: 'Hello ' + input.data.name + '!' } });
};
console.log('Greet module loaded');
readInput(greet);