# @nx/js

> The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

Latest version **23.2.1** (published 2026-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nx/js
pnpm add @nx/js
yarn add @nx/js
bun add @nx/js
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 23.2.1 |
| Published | 2026-09-09 |
| First published | 2023-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 29 |
| Unpacked size | 802.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 29328 |
| Maintainers | nrwlowner, nrwl-jason, jack-nrwl, maxk-nrwl, jameshenry |
| Keywords | Monorepo, Web, Node, Swc, Tsc, CLI, Front-end, Backend |

## Links

- npm: https://www.npmjs.com/package/@nx/js
- Repository: https://github.com/nrwl/nx
- Homepage: https://nx.dev
- Issues: https://github.com/nrwl/nx/issues
- npm.io page: https://npm.io/package/@nx/js

## Dependencies (29)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [tslib](https://npm.io/package/tslib.md) ^2.3.0
- [ignore](https://npm.io/package/ignore.md) ^7.0.5
- [semver](https://npm.io/package/semver.md) ^7.6.3
- [columnify](https://npm.io/package/columnify.md) ^1.6.0
- [js-tokens](https://npm.io/package/js-tokens.md) ^4.0.0
- [picomatch](https://npm.io/package/picomatch.md) 4.0.4
- [@nx/devkit](https://npm.io/package/@nx/devkit.md) 23.2.1
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.0
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.12
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.29.6
- [detect-port](https://npm.io/package/detect-port.md) ^2.1.0
- [jsonc-parser](https://npm.io/package/jsonc-parser.md) ^3.2.0
- [npm-run-path](https://npm.io/package/npm-run-path.md) ^4.0.1
- [@nx/workspace](https://npm.io/package/@nx/workspace.md) 23.2.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.22.6
- [@zkochan/js-yaml](https://npm.io/package/@zkochan/js-yaml.md) 0.0.7
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.23.2
- [source-map-support](https://npm.io/package/source-map-support.md) 0.5.19
- [babel-plugin-macros](https://npm.io/package/babel-plugin-macros.md) ^3.1.0
- [babel-plugin-const-enum](https://npm.io/package/babel-plugin-const-enum.md) ^1.0.1
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.22.5
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.23.2
- [@babel/plugin-proposal-decorators](https://npm.io/package/@babel/plugin-proposal-decorators.md) ^7.22.7
- [@babel/plugin-transform-private-methods](https://npm.io/package/@babel/plugin-transform-private-methods.md) ^7.22.5
- [@babel/plugin-transform-class-properties](https://npm.io/package/@babel/plugin-transform-class-properties.md) ^7.22.5
- [@babel/plugin-transform-class-static-block](https://npm.io/package/@babel/plugin-transform-class-static-block.md) ^7.22.5
- [babel-plugin-transform-typescript-metadata](https://npm.io/package/babel-plugin-transform-typescript-metadata.md) ^0.3.1
- [@babel/plugin-transform-private-property-in-object](https://npm.io/package/@babel/plugin-transform-private-property-in-object.md) ^7.22.5

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 23.2.1 (latest) — 2026-09-09
- 23.3.0-canary.20260915-071d621 (canary) — 2026-09-15
- 22.7.12 (previous) — 2026-09-10
- 23.3.0-pr.36958.5270397 (pull-request) — 2026-09-09
- 23.3.0-beta.0 (next) — 2026-09-08
- 23.3.0-canary.20260914-69b08a6 — 2026-09-14
- 23.3.0-canary.20260911-50efd6a — 2026-09-11
- 22.7.11 — 2026-09-09
- 23.3.0-canary.20260909-359c09a — 2026-09-09
- 23.3.0-pr.36841.f66e88b — 2026-09-09
- 22.7.10 — 2026-09-09
- 23.2.0-canary.20260908-89f02c1 — 2026-09-08
- 23.2.0-canary.20260902-6e38e5e — 2026-09-02
- 23.2.0 — 2026-09-02
- 23.2.0-rc.2 — 2026-09-01
- … 1899 more at https://npm.io/package/@nx/js/versions

## README

<p style="text-align: center;">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
    <img alt="Nx - Smart Monorepos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
  </picture>
</p>

<div style="text-align: center;">

[![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)](<>)
[![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](<>)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
[![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)

</div>


<hr>

# Nx: Smart Monorepos · Fast Builds

Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.

This package is a [JavaScript/TypeScript plugin for Nx](https://nx.dev/js/overview).

## Getting Started

### Creating an Nx Workspace

**Using `npx`**

```bash
npx create-nx-workspace
```

**Using `npm init`**

```bash
npm init nx-workspace
```

**Using `yarn create`**

```bash
yarn create nx-workspace
```

### Adding Nx to an Existing Repository

Run:

```bash
npx nx@latest init
```

## Documentation & Resources

- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
- [Intro to Nx](https://nx.dev/getting-started/intro)
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
- [Blog Posts About Nx](https://nx.dev/blog)

<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg" 
width="100%" alt="Nx - Smart Monorepos · Fast Builds"></a></p>

---
_Source: https://npm.io/package/@nx/js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
