is-bun-module is a JavaScript and TypeScript utility library that helps you determine whether a module specifier refers to a Bun built-in module, a Node module implemented in Bun, or either (Bun built-in). It also provides functions to list Bun modules and Node modules implemented in Bun (optionally for a specific Bun version, with only Bun v1.0.0+ supported).
Project status
- Maintenance status: Recent upstream push on 2026-09-01, but the most recent published updates tag is v2.0.0 (2025-03-23), so the library appears not regularly released, with maintenance or quieter period since 2025 despite continued development activity.
- Update cadence: Early history shows multiple updates in 2024 (roughly every 1 to 3 months), followed by a longer gap to v2.0.0 in 2025, and then a gap of about 18 months with no tagged updates through 2026-09-10.
AI summary generated
Recent updates
v2.0.0
v2.0.0 refactors the library to introduce a clearer “Bun module” vs “implemented Node module” API, adds module listing helpers, and adds an explicit Bun builtin checker. The implementation is reorganized into shared logic plus separate Bun vs generic entrypoints, and the data set for implemented Node modules now includes node:-prefixed variants.
BreakingFeaturesv1.3.0
Release v1.3.0 documents a single change: updating assets/bun-modules to add support for bun:wrap. The code diff, however, includes multiple non-note changes across CI, npm scripts, TypeScript path aliases used by tests, README wording, and several devDependency version bumps.
Featuresv1.2.1
Release v1.2.1 updates the semantic-release publish preparation command to remove a postinstall script before packaging with bun. The documented change is a publishing-time fix, intended to prevent postinstall behavior from being included in the published package.
v1.2.0
v1.2.0 updates Bun version handling so callers can pass actual semver strings (for example, prerelease tags like 1.1.28-debug). The core change is in the version parsing/validation logic used by the module support checks, with tests added to cover the new behavior.
Featuresv1.1.0
Release v1.1.0 documents adding support for the Node.js built-in module `cluster`. The code diff shows that is included, but it also contains multiple CI, release, and tooling changes (including a tsup upgrade) that are not mentioned in the release notes.
Featuresv1.0.2
Release v1.0.2 documents a small bug fix around safely detecting the Bun version by checking whether the global process object exists. The code diff shows that, in addition to this fix, the project packaging and build toolchain were significantly changed (entrypoints, exports layout, and build scripts).
Breakingv1.0.1
v1.0.1 is the initial release of this repository/module. The release notes only mention an initial commit, with no described API, feature additions beyond the initial publication, bug fixes, or changes from prior versions.
Features