classmatewu / esno

Alias to `tsx`

Home Page:https://github.com/esbuild-kit/tsx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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.

About

Alias to `tsx`

https://github.com/esbuild-kit/tsx


Languages

Language:TypeScript 91.0%Language:JavaScript 9.0%