Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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`
- Host: GitHub
- URL: https://github.com/antfu/esno
- Owner: antfu
- Created: 2020-08-05T06:37:14.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T21:30:54.000Z (8 months ago)
- Last Synced: 2024-05-02T01:03:16.003Z (6 months ago)
- Topics: emcascript, esbuild, esnext, node, ts-node, typescript
- Language: TypeScript
- Homepage: https://github.com/esbuild-kit/tsx
- Size: 94.7 KB
- Stars: 1,536
- Watchers: 12
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
esno
Node.js runtime enhanced with esbuild for loading TypeScript & ESM
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 esnoesno 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).