The Wayback Machine - https://web.archive.org/web/20220321140319/https://github.com/antfu/esno
Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 5, 2020
Aug 5, 2020
Jun 6, 2021

esno / esmo

TypeScript / ESNext node runtime powered by esbuild

version

Usage

npx esno hello.ts

# use with `type: module`
npx esmo hello.ts

Install globally

npm i -g esno

esno index.ts
esmo index.ts

Install as dependency

npm i esno
{
  "scripts": {
    "start": "esno index.ts"
  },
  "dependencies": {
    "esno": "*"
  }
}
npm run start
{
  "type": "module",
  "scripts": {
    "start": "esmo index.ts"
  },
  "dependencies": {
    "esno": "*"
  }
}