BSD Ports

lang/bun 1.3.13.93 MidnightBSD

JavaScript runtime, bundler, test runner, and package manager

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl
Categories
lang

Description

Bun is a fast JavaScript runtime, bundler, transpiler, and package manager -- all in one.

Key features:

  • Up to 4x faster startup time than Node.js
  • Native TypeScript and JSX support (no separate transpilation step)
  • Built-in package manager (npm-compatible) with global caching
  • Built-in test runner, bundler, and transpiler
  • Web-standard APIs: fetch, WebSocket, ReadableStream, etc.
  • Node.js compatibility: most Node.js built-in modules work out of the box
  • Zig, C++, and Rust -- for maximum performance

In the other systems

SystemPortVersion
MidnightBSDlang/bun1.3.13.93
FreeBSDlang/bun1.4.2
NetBSDwip/bun1.4.0

Install

Binary package:

mport install bun

From mports:

cd /usr/mports/lang/bun && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bun>0:lang/bun

Dependencies

As this port's Makefile names them.

Build 7

Test 1

Fetch 7

Build dependencies 7
Required by 1

Configuration

No options to configure.

USES
shebangfix
Service scripts
none

Files

distinfo 5
FileSizeSHA256
bun/bootstrap-x86_64-linux-musl.zip1.00112252e+080c09b44c0b2432d7ad8a759b685ba8ae1f883902851ac52e282ad60a89bebe42
bun/bun-webkit-freebsd-amd64.tar.gz3.7660405e+072bbab3f44e3b3d7961408c703271285ca3cc4d128d7ff9fc54dc5ab112e89fbf
bun/node-v24.3.0-headers.tar.gz8.747815e+06045e9bf477cd5db0ec67f8c1a63ba7f784dedfe2c581e3d0ed09b88e9115dd07
bun/bun-1.3.13-93-bootstrap1.05685712e+08aea7f1c221f812d726aad220ecc879914bbe49b05e5bd4e76c3155ec0a133f54
bun/oven-sh-bun-bun-v1.3.13-93-g146a674cf6_GH0.tar.gz5.4226399e+0712bec710dd6717f83ccaaec7fb7970828177f173639018042ca3031b851b24ff
Master sites 5
  • GH
  • https://github.com/oven-sh/zig/releases/download/autobuild-04e7f6ac1e009525bc00934f20199c68f04e0a24/:ovenzig
  • https://github.com/oven-sh/WebKit/releases/download/autobuild-bdf6aab38a9c6f99df3fd1486406ab6b74180fbb/:webkit
  • https://nodejs.org/dist/v24.3.0/:nodejshdr
  • FREEBSD_LOCAL/yuri/:bootstrap