JavaScript and TypeScript with Elide

Run JavaScript and TypeScript and install npm dependencies

Elide runs JavaScript and TypeScript source files directly. It supports CommonJS and ES modules, implements a growing set of Node and Web APIs, and removes TypeScript syntax with OXC before execution.

elide run app.js
elide run app.ts

Supported source extensions include .js, .jsx, .mjs, .cjs, .ts, .tsx, .mts, and .cts.

npm dependencies

Elide’s npm resolver is opt-in:

elide install --ecosystems=npm

To install Maven and npm dependencies together, use --ecosystems=maven,npm. Use --workspace to install every available ecosystem declared by the project.

Servers

elide serve --no-tui ./dist # static files, port 8080
elide dev --no-tui ./src    # live reload, port 3000

Node and Web compatibility is incomplete. Check the API Overview for implemented modules and the Compatibility Matrix for measured upstream-suite results.