Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

NodeJS Typescript Function with additional packages

A sample TypeScript function (main.ts) 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 ts-lorem-node -runtime nodejs-22 --build-source .

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