Skip to content
Back to skills

Bun

ASecurity

Bun runtime and toolkit — server, bundler, package manager, test runner, SQLite, and Node.js compatibility.

  • 47 stars
  • 0 votes
  • 2 copies
  • 41 views
  • Added September 12, 2026
developmentjavascripttypescriptjavasqlnodeapi

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill bun --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bun?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bun
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-bun/badge)](https://www.skillsdirectory.com/skills/skeletorflet-bun)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bun
description: Bun runtime and toolkit — server, bundler, package manager, test runner, SQLite, and Node.js compatibility.
trigger: bun, bun.sh, bun runtime, bun.serve, bun file, bun install, bun build, bun test, bunx, node.js compatibility
---

# Bun

## Overview
Bun is an all-in-one JavaScript runtime and toolkit designed for speed. It replaces Node.js, npm, npx, Jest, Webpack, and ts-node with a single binary.

## Core APIs

### bun.serve
HTTP server with built-in request/response handling. Supports TLS, streaming, and WebSockets natively.

### bun.file
Lazy file reader with BLOB support. Works with `Response`, `ArrayBuffer`, and streaming interfaces.

### bun:sqlite
Built-in SQLite3 binding. Synchronous API, no C dependencies. Supports prepared statements, transactions, and WAL mode.

## Package Management
- `bun install` — fast lockfile-free installs with global cache
- `bun add` / `bun remove` — dependency management
- `bunx` — npx-compatible package runner

## Build System
Bun.build bundles JavaScript/TypeScript for browser and server. Supports entry points, external modules, minification, source maps, and targeting.

## Plugin System
Bun plugins intercept module resolution and transformation. Useful for loaders (CSS, YAML, .env) and custom transpilation.

## Test Runner
`bun test` provides Jest-compatible API (`describe`, `it`, `expect`) with TypeScript and JSX support, snapshots, and lifecycle hooks.

## Node.js Compatibility
Bun aims for full Node.js API compatibility. Most npm packages work without modification. Built-in support for `node:*` modules, CommonJS, and ESM.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.