Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antfu/esno

Alias to `tsx`
https://github.com/antfu/esno

emcascript esbuild esnext node ts-node typescript

Last synced: 20 days ago
JSON representation

Alias to `tsx`

Awesome Lists containing this project

README

        


esno


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





version

From v0.15, `esno` is essentially an alias of [`tsx`](https://github.com/esbuild-kit/tsx), with automated CJS/ESM mode and caching.

> Issues are disabled in this repo, they should be report in [esbuild-kit/tsx](https://github.com/esbuild-kit/tsx) instead.

## Usage

```bash
npx esno hello.ts
```

#### Install globally

```bash
npm i -g esno

esno index.ts
```

#### Install as dependency

```bash
npm i esno
```

```json
{
"scripts": {
"start": "esno index.ts"
},
"dependencies": {
"esno": "*"
}
}
```

Learn more at [`tsx`](https://github.com/esbuild-kit/tsx).