GeezerVison is showing github.com — CodeEngine/helloworld-samples/function-codebundle-nodejs at main · mithunhr87/CodeEngine
/
function-codebundle-nodejs
/Copy pathDirectory actions
More options
More optionsDirectory actions
More options
More options/
function-codebundle-nodejs
/Copy pathFolders and files
| Name | Name | Last commit message | Last commit date |
|---|
parent directory.. |
| | | |
| | | |
| | | |
|
NodeJS Function with additional packages
A sample nodejs function (main.js) that uses an external npm module referenced by the package.json file.
Deploy the function straight to Code Engine by running the following command from the source directory
ibmcloud ce fn create -n lorem-node -runtime nodejs-20 --build-source .
For more information follow the official docs -> Including modules for a Node.js Function