bun
OfficialFast JavaScript runtime
15.3K pulls
45 MBvs200 MBDocker4x smaller
1 versionUpdated 2026-04-08MITSecurity: A+$ niso pull bun4x smaller than Docker
This package is 45 MB vs Docker's 200 MB image. That's 4x less disk space, faster pulls, and a smaller attack surface.
Bun is an all-in-one JavaScript runtime and toolkit. It includes a bundler, test runner, and npm-compatible package manager -- all significantly faster than existing tools. Built on JavaScriptCore instead of V8.
niso packages Bun at 45 MB -- 4.4x smaller than Docker's 200 MB oven/bun image. Includes the bun binary with its built-in bundler, test runner, and package manager. No separate node_modules management tool needed. The runtime is shared across services just like Node.js.
Key features
- 45 MB total package size (4x smaller than Docker)
- Multi-architecture: x86_64 and aarch64
- Runtime installed once, isolated per service at activation
- Security score: A+
How to use
manifest.toml
[package]
name = "my-app"
version = "1.0.0"
[runtime]
use = "bun:1.1.7"
[binary]
entrypoint = "server.js"
[network]
ports = ["3000:3000"]
[isolation]
preset = "server"Dependencies
bun 45 MB
├── musl libc 1.2.5 (0.6 MB)
├── libssl 3.3.0 (2.1 MB)
└── libcrypto 3.3.0 (3.8 MB)