James Thomas 2774f8d327 Adding OpenWhisk NodeJS template to create plugin.
Modified create plugin to support this provider template.
Added templates files under the templates folder.
Included tests to verify this works.
2017-01-23 13:44:38 +00:00

9 lines
146 B
JavaScript

'use strict';
function hello(params) {
const name = params.name || 'World';
return { payload: `Hello, ${name}!` };
}
exports.hello = hello;