UNPKG

566 BJavaScriptView Raw
1module.exports = {
2
3 name: "<%=name%>",
4
5 label: "<%=label%>",
6
7 description: "",
8 version: "<%=version%>",
9
10 input:{
11 title: "<%=label%>",
12 type: "object",
13 properties: {
14
15 }
16 },
17
18 output: {
19 title: "output",
20 type: "object",
21 properties: {
22
23 }
24 },
25
26 mock_input:{},
27
28 execute: function(input, output){
29 // to access auth info use input.auth , eg: input.auth.username
30 // and to return output use output callback like this output(null, { 'notice' : 'successful'})
31 // your code here
32
33 output(null, { data : "OK"});
34 }
35
36}