bazelbuild/rules_nodejs

NodeJS toolchain for Bazel.

762

stars

3,135

commits

Starlark

primary language

Sep 10, 2026

updated

registry.bazel.build/docs/rules_nodejs
aspect-build
bazel
bazel-rules
nodejs

README

JavaScript rules for Bazel

Build status GitHub release (latest by date)

This ruleset provides a Node.js development toolchain and runtime with Bazel. It does not have any rules for using Node.js, such as nodejs_binary. For that, we recommend rules_js.

This repository is maintained by volunteers in the Bazel community. Neither Google, nor the Bazel team, provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases.

We follow semantic versioning. Patch releases have bugfixes, minor releases have new features. Only major releases (1.x, 2.x) have breaking changes. We support LTS releases of Bazel (starting at 4.x), see SUPPORTED_BAZEL_VERSIONS in our /index.bzl for the list we test against.

6.0 Scope Reduction

This branch is the latest release, 6.x.x It has a greatly reduced scope from previous releases, as most of the code was unmaintained. See the 5.x branch for the prior state of the repo.

Documentation

See the docs/ folder, and generated API docs on https://registry.bazel.build/modules/rules_nodejs/latest/docs

Contributors

(top 30 of 209)

alexeagle

1,290 commits

gregmagolan

680 commits

mattem

213 commits

renovate-bot

130 commits

bazelbuild/rules_nodejs

NodeJS toolchain for Bazel.

762

stars

3,135

commits

Starlark

primary language

Sep 10, 2026

updated

registry.bazel.build/docs/rules_nodejs
aspect-build
bazel
bazel-rules
nodejs

README

JavaScript rules for Bazel

Build status GitHub release (latest by date)

This ruleset provides a Node.js development toolchain and runtime with Bazel. It does not have any rules for using Node.js, such as nodejs_binary. For that, we recommend rules_js.

This repository is maintained by volunteers in the Bazel community. Neither Google, nor the Bazel team, provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases.

We follow semantic versioning. Patch releases have bugfixes, minor releases have new features. Only major releases (1.x, 2.x) have breaking changes. We support LTS releases of Bazel (starting at 4.x), see SUPPORTED_BAZEL_VERSIONS in our /index.bzl for the list we test against.

6.0 Scope Reduction

This branch is the latest release, 6.x.x It has a greatly reduced scope from previous releases, as most of the code was unmaintained. See the 5.x branch for the prior state of the repo.

Documentation

See the docs/ folder, and generated API docs on https://registry.bazel.build/modules/rules_nodejs/latest/docs

Contributors

(top 30 of 209)

alexeagle

1,290 commits

gregmagolan

680 commits

mattem

213 commits

renovate-bot

130 commits

Languages

Starlark

96.6%

TypeScript

2.0%