cloudy-node

TypeScript and ESM node runtime powered by esbuild.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
cloudy-node
0.0.813 months ago5 months agoMinified + gzip package size for cloudy-node in KB

Readme

cloudy-node
TypeScript and ESM node runtime powered by esbuild.
NPM version NPM downloads Build status

Installation

yarn add cloudy-node

Usage

yarn cloudy-node index.ts

Or manually:
node --loader cloudy-node index.ts

Motivation

The implementation is a fork of antfu's esno, but changes the esbuild target to es2022.
The main reason to do so is that esno will generate helpers that break Pulumi's function serialization when spreading objects. Another reason is that es2022 allows using top level await, which is supported by AWS Lambda with Node.js 14.