Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

Co-authored-by: alexeagle <>

Git stats


Failed to load latest commit information.
Latest commit message
Commit time
August 12, 2023 07:42
October 16, 2023 15:14
November 21, 2023 08:57
November 23, 2023 06:56
October 6, 2023 15:58
February 24, 2023 09:08
April 12, 2023 13:47

JavaScript rules for Bazel

Build status GitHub release (latest by date)

This ruleset provides a NodeJS development toolchain and runtime with Bazel. It does not have any rules for using NodeJS, 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.


Comprehensive documentation for installing and using the rules, including generated API docs: