mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 16:09: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);
|