Created
July 9, 2018 17:26
-
-
Save macdonst/ca3de407bd53af3a58cb2ce24079c90a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const leftPad = require('left-pad'); | |
function main(args) { | |
const name = args.name || 'World'; | |
return { payload: `Hello, ${leftPad(name, 30, ".")}!` }; | |
} | |
global.main = main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment