Skip to content

Files

Latest commit

dc57c7a · Feb 5, 2024

History

History
This branch is 154 commits behind IBM/CodeEngine:main.

function-codebundle-nodejs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 5, 2024
Feb 5, 2024
Nov 11, 2023

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-18 --build-source .

For more information follow the official docs -> Including modules for a Node.js Function