mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 12:12:10 -05:00
10 lines
238 B
JavaScript
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);
|