UNPKG
sls3-legacy
Version:
latest (3.42.1)
3.42.1
3.42.0
3.41.1
SLS3 Legacy - A fork of Serverless Framework v3
github.com/deel77/sls3-legacy
deel77/sls3-legacy
sls3-legacy
/
docs
/
providers
/
openwhisk
/
examples
/
hello-world
/
node
/
handler.js
8 lines
(6 loc)
•
185 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
// Your function handler
module
.
exports
.
helloWorldHandler
=
function
(
params
) {
const
name = params.
name
||
'World'
;
return
{
payload
:
`Hello,
${name}
!`
}; };