cloudy-nodeTypeScript and ESM node runtime powered by esbuild.
yarn add cloudy-node
yarn cloudy-node index.ts
node --loader cloudy-node index.ts
MotivationThe implementation is a fork of antfu's esno, but changes the esbuild target to
The main reason to do so is that
esnowill generate helpers that break Pulumi's function serialization when spreading objects. Another reason is that
es2022allows using top level await, which is supported by AWS Lambda with Node.js 14.