axts icon indicating copy to clipboard operation
axts copied to clipboard

⚡️ Transpile and run very fast Typescript & ESM

Axts

# # #

Transpile and run your typescript easily

You can support the project:

Buy Me A Coffee

About

CLI command (alternative to node) for seamlessly running TypeScript & ESM, in both commonjs & module package types.

Installation

$ npm install axts -D

Usage

$ axts src/main.ts
# or with watch mode
$ axts --watch --extensions ts,json src/main.ts
# you can also use it with commonjs
$ axts --watch --commonjs --extensions ts,json src/main.ts

IMPORTANT

When the --commonjs flag is missing.

"type": "module" is required in your package.json

{
  ...
  "type": "module",
  ...
}

Features

  • Blazing fast on-demand TypeScript & ESM compilation
  • Works in both CommonJS and ESM packages
  • Supports next-gen TypeScript extensions (.cts & .mts)
  • Hides experimental feature warnings
  • Resolves tsconfig.json paths

How to contribute

If you want to contribute to the development of this project, feel free to create a GitHub account and fork this repository.

Releases

For information about the latest and previous versions of this project, see the releases section.

If you made it through, thank you very much for this quick read.

May the force be with you!

📃 License MIT