-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Deno.js a template #140
Comments
Thanks for your interest. We'll consider the submission for review, when we next have some spare cycles in the community. You should also be able to use TypeScript with the existing node12 template, @mrsimonemms keep me honest here. |
|
@alexellis thanks for the reply. |
@alexellis any update about this plan? I have fixed most issues above and am ready to further complement if needed. Thanks you. |
Apologies @alexellis and @betterRunner - I missed my mention in this thread. For the record, I've not actually used Deno yet (it's on my ever-expanding list) so everything I say here is caveated. @alexellis yes, you can use TypeScript with the existing Node template. Deno is an entire reworking of the Node ecosystem and as such should be considered a separate language to Node. I don't see any issue with using the
The function template itself looks pretty good for the record |
I would like to submit a Deno.js template as an alternative of the Node.js template.
This is the project link: https://github.com/betterRunner/openfaas-deno-template
Here are some reasons for adding this template:
(1) deno supports Typescript out of the box. I think using Typescript to write functions would be better than using Javascript because of type checking and other features.
(2) deno is designed to be a security sandbox so in some themes I think it would be more suitable than nodejs.
You can see out more details here.
Thank you!
The text was updated successfully, but these errors were encountered: