Bun Transpiler
Use Bun's transpiler to transpile JavaScript and TypeScript code
Install
npx skills add jarle/bun-skills --skill Bun Transpilergit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-transpiler ~/.claude/skills/Bun-TranspilerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Transpiler
> Use Bun's transpiler to transpile JavaScript and TypeScript code
Bun exposes its internal transpiler via the `Bun.Transpiler` class. To create an instance of Bun's transpiler:
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
const transpiler = new Bun.Transpiler({
loader: "tsx", // "js | "jsx" | "ts" | "tsx"
});
```
***
## `.transformSync()`
Transpile code synchronously with the `.transformSync()` method. Modules are not resolved and the code is not executed. The result is a string of vanilla JavaScript code.
<CodeGroup>
```ts transpile.ts icon="https://mintcdn.com/bun-1dd33a4e/nIz6GtMH5K-dfXeV/icons/typescript.svg?fit=max&auto=format&n=nIz6GtMH5K-dfXeV&q=85&s=5d73d76daf7eb7b158469d8c30d349b0" theme={"theme":{"light":"github-light","dark":"dracula"}}
const transpiler = new Bun.Transpiler({
loader: 'tsx',
});
const code = `
import * as whatever from "./whatever.ts"
export function Home(props: {title: string}){
return <p>{props.title}</p>;
}`;
const result = transpiler.transformSync(code);
```
```ts output theme={"theme":{"light":"github-light","dark":"dracula"}}
import { __require as require } from "bun:wrap";
import * as JSX from "react/jsx-dev-runtime";
var jsx = require(JSX).jsxDEV;
export default jsx(
"div",
{
children: "hi!",
},
undefined,
false,
undefined,
this,
);
```
</CodeGroup>Details
- Skill name
Bun Transpiler- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-transpiler/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Transpiler skill do?
Use Bun's transpiler to transpile JavaScript and TypeScript code
How do I install the Bun Transpiler skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Transpiler. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Transpiler popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun TypeScript
9jarle/bun-skills
Using TypeScript with Bun, including type definitions and compiler options
Bun Single File Executable
9jarle/bun-skills
Generate standalone executables from TypeScript or JavaScript files with Bun
Bun Web APIs
9jarle/bun-skills
Web-standard APIs supported by Bun for server-side JavaScript
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.