Skip to main content

Introduction

Pun is a fast JavaScript runtime, package manager, bundler, and test runner — all in one binary.

Built in Rust for speed and reliability, Pun aims to provide a seamless development experience for JavaScript and TypeScript developers.

Key Features

  • Fast JavaScript Runtime: Built on deno_core for high performance.
  • Native TypeScript Support: Runs .ts and .tsx files directly without a separate compilation step.
  • Package Management: Install and manage dependencies with pun add and pun install.
  • Bundler: Build production-ready bundles with pun build.
  • Test Runner: Run tests with a built-in test runner supporting describe, test, and expect.
  • Hot Reload: Fast development feedback loop with pun dev.

Why Pun?

Pun is designed to be a single tool for your entire development workflow. No need to configure Babel, Webpack, or Jest. It just works.