Created
November 3, 2017 17:58
-
-
Save pritidesai/1d0ff64238f71b158dbd393e5d16a4e7 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