Functions Middleware

Say, I’d like to do some type checking in functions. I was wondering how I could create a helper file that I can import on several different functions. Ideally without creating a package and uploading it to NPM.

Hi @Alexandar_Dimcevski

Do you mean to include external dependencies to an Atlas Function? If yes, please have a look at External Dependencies to see if this answers your question.

If not, please provide more details and examples regarding your requirements.

Best regards
Kevin

Hey Kevin!

I’m trying to avoid using external packages. And just have a one local helper file with code that’s being used in multiple functions.