GitHub - antfu/esno: Alias to `tsx`

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

esno

Node.js runtime enhanced with esbuild for loading TypeScript & ESM

version

From v0.15, esno is essentially an alias of tsx, with automated CJS/ESM mode and caching.

Issues are disabled in this repo, they should be report in esbuild-kit/tsx instead.

Usage

npx esno hello.ts

Install globally

npm i -g esno

esno index.ts

Install as dependency

npm i esno
{
  "scripts": {
    "start": "esno index.ts"
  },
  "dependencies": {
    "esno": "*"
  }
}

Learn more at tsx.