Today there are templates for various NodeJS versions. Node 18 is out, but there is no template for it. Node 18 is particularly interesting because it bundles fetch() natively, reducing the need for dependencies within functions.
Current Behaviour
Use a current NodeJS image, but with a shim/package to add fetch support.
Expected Behaviour
Today there are templates for various NodeJS versions. Node 18 is out, but there is no template for it. Node 18 is particularly interesting because it bundles fetch() natively, reducing the need for dependencies within functions.
Current Behaviour
Use a current NodeJS image, but with a shim/package to add fetch support.
Are you a GitHub Sponsor (Yes/No?)
No
Check at: https://github.com/sponsors/openfaas
List All Possible Solutions and Workarounds
Create a new template for Node18 Continue to shim/add dependencies to functions
Which Solution Do You Recommend?
Creating a new template for Node18
Steps to Reproduce (for bugs)
N/A
Context
I'm writing functions that interact with http-based backends primarily and am looking to keep them as slim as possible.
Thanks for considering this!
Your Environment
N/A