Created
December 15, 2017 21:47
-
-
Save pritidesai/009b024143b48c830712b5b280d7db46 to your computer and use it in GitHub Desktop.
This file contains 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
function helloworld(params) { | |
var format = require('string-format'); | |
var name = params.name || 'Stranger'; | |
payload = format('Hello, {}!', name) | |
return { message: payload }; | |
} | |
exports.main = helloworld; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment