Unything at runtime
84
stars
238
commits
TypeScript
primary language
Jun 6, 2026
updated
unrun is a tool that enables running and loading any module at runtime (TypeScript, ESM, CJS, JSX, etc.) by bundling it with Rolldown.
Check the documentation for more details.
npm i unrun
npx unrun ./path/to/file.ts
import { unrun } from "unrun";
const { module } = await unrun({
path: "./path/to/file.ts", // Path to the module to load
});
import { unrunSync } from "unrun";
const { module } = unrunSync({
path: "./path/to/file.ts", // Path to the module to load
});
unrun is highly inspired by tools like :
191 commits
47 commits
TypeScript
94.4%
JavaScript
5.6%
Unything at runtime
84
stars
238
commits
TypeScript
primary language
Jun 6, 2026
updated
unrun is a tool that enables running and loading any module at runtime (TypeScript, ESM, CJS, JSX, etc.) by bundling it with Rolldown.
Check the documentation for more details.
npm i unrun
npx unrun ./path/to/file.ts
import { unrun } from "unrun";
const { module } = await unrun({
path: "./path/to/file.ts", // Path to the module to load
});
import { unrunSync } from "unrun";
const { module } = unrunSync({
path: "./path/to/file.ts", // Path to the module to load
});
unrun is highly inspired by tools like :
191 commits
47 commits
TypeScript
94.4%
JavaScript
5.6%