Google Cloud has a number of options to run your code. We can deploy a function to Cloud Functions, an app to App Engine, or an app with a custom runtime (a Docker container) to Cloud Run.
In this post the same code snippet is deployed to all three Google Cloud Platform features. Locally the Functions Framework is used .
How do we create a package that exposes both CommonJS & ES modules while making sure we donβt break cross-platform support? Publishing 2 separate packages is an option (e.g. lodash/lodash-es). But there is a nicer, more maintainable option that obviates the need to publish twice. We can provide an extra build step that creates an ES version of our package and links it via package.json.
Ryan Dahl β inventor of Node.js β has been working on Deno, a new take on Node as if it were designed today.
From async-await to ArrayBuffers, the JavaScript language has changed significantly in the decade since Node.js was designed. Deno takes advantage of these developments and incorporate lessons learned in the development of Node to provide a new JavaScript platform built on V8 and Rust. This talk will teach the audience how to get started with Deno.
I especially like the compatibility with ES Modules.