@aicore/template-nodejs
Version:
Template for nodejs with unit gulp build, test, coverage, code guardian, github and Other defaults
45 lines (40 loc) • 1.33 kB
JavaScript
/*
* GNU AGPL-3.0 License
*
* Copyright (c) 2021 - present core.ai . All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along
* with this program. If not, see https://opensource.org/licenses/AGPL-3.0.
*
*/
// @INCLUDE_IN_API_DOCS
/**
* Write your module docs here. tell something about this module in markdown.
*
* See https://github.com/aicore/template-nodejs/wiki/How-To-Write-Docs for more details on how to style docs.
* ### Use markdown headings!
* and markdown code!
* ```js
* console.log("write sample code examples with code blocks");
* ```
*
* @module hello
*/
/**
* says hello world
* @param name
* @returns {string}
* @type {function}
*/
function helloWorld(name) {
return "Hello World " + name;
}
export default helloWorld;