antfu / esno

TypeScript / ESNext node runtime powered by esbuild

Home Page:https://www.npmjs.com/package/esno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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": "*"
  }
}
ezoic increase your site revenue

About

TypeScript / ESNext node runtime powered by esbuild

https://www.npmjs.com/package/esno


Languages

Language:JavaScript 62.0%Language:TypeScript 38.0%