New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@cloudy-ts/esm-node

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudy-ts/esm-node

TypeScript and ESM node runtime powered by esbuild.

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

@cloudy-ts/esm-node

TypeScript and ESM node runtime powered by esbuild.

NPM version NPM downloads Build status

Installation

yarn add @cloudy-ts/esm-node

Usage

yarn esm-node index.ts

Or manually:

node --loader @cloudy-ts/esm-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.

FAQs

Package last updated on 22 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts