bun-macros

Installation
SKILL.md

Bun Macros

Bun macros run JavaScript at bundle time and inline the results into the output.

Quick Start

// src/config.ts (macro file)
export function getVersion() {
  return "1.0.0";
}

export function getBuildTime() {
  return new Date().toISOString();
}

// src/index.ts (consumer)
import { getVersion, getBuildTime } from "./config" with { type: "macro" };
Installs
168
GitHub Stars
172
First Seen
Apr 3, 2026
bun-macros — secondsky/claude-skills