When creating serverless services you are able to use third party packages from your respective ecosystems package manager.
For node.js you can leverage the vast ecosystem of NPM and require
in modules into your project.
For Python you can use the pip package manager