elide

Elide

Python 3.11.x


Elide is like Node or Python. Use it to run things:

> elide ./my-code.{ts,js,py,kts,kt}

You can use Node APIs. You can even mix languages:

// sample.mts

// use node apis
import { readFileSync } from "node:fs"

// interoperate across languages 
import sample from "./sample.py"

// this is typescript - no build step needed first, like deno or bun
const x: number = 42;

console.log(sample.greeting() + ` The answer is ${x}`);
# sample.py

def greeting(name = "Elide"):
  return f"Hello, {name}!"
> elide ./sample.mts
Hello, Elide! The answer is 42

Learn more at elide.dev

Access the docs at elide.help