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: The repository shows a tagged update in v2.0.0 on 2025-03-23, and the last upstream push is 2026-06-01, but there are no additional tagged updates shown since 2025-03-23, so as of 2026-06-09 it appears largely quiet or in maintenance mode, with at least some recent activity not yet reflected in published updates.
- Apparent update cadence: Earlier in the project, updates came in within months (mid 2024 through late 2024 into March 2025), but after v2.0.0 (2025-03-23) there is a long gap of over a year before the current date.
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