# lwr

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

## Install

```sh
npm install lwr
pnpm add lwr
yarn add lwr
bun add lwr
```

Provides the commands `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`.

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.24.1 |
| Published | 2026-09-15 |
| First published | 2019-09-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 15 |
| Unpacked size | 69.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | diervo, lwc-admin, nrkruk, lpomerleau, kmbauer, kevinv11n |

## Links

- npm: https://www.npmjs.com/package/lwr
- Repository: https://github.com/salesforce-experience-platform-emu/lwr
- Homepage: https://developer.salesforce.com/docs/platform/lwr/overview
- Issues: https://github.com/salesforce-experience-platform-emu/lwr/issues
- npm.io page: https://npm.io/package/lwr

## Dependencies (15)

- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [xml2js](https://npm.io/package/xml2js.md) ^0.6.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.2.0
- [commander](https://npm.io/package/commander.md) ^10.0.0
- [@lwrjs/api](https://npm.io/package/@lwrjs/api.md) 0.24.1
- [@lwrjs/core](https://npm.io/package/@lwrjs/core.md) 0.24.1
- [@lwrjs/tools](https://npm.io/package/@lwrjs/tools.md) 0.24.1
- [@lwrjs/config](https://npm.io/package/@lwrjs/config.md) 0.24.1
- [@lwrjs/lambda](https://npm.io/package/@lwrjs/lambda.md) 0.24.1
- [@lwrjs/static](https://npm.io/package/@lwrjs/static.md) 0.24.1
- [object-treeify](https://npm.io/package/object-treeify.md) ^4.0.1
- [es-module-lexer](https://npm.io/package/es-module-lexer.md) ^1.5.4
- [@lwrjs/diagnostics](https://npm.io/package/@lwrjs/diagnostics.md) 0.24.1
- [@lwrjs/shared-utils](https://npm.io/package/@lwrjs/shared-utils.md) 0.24.1
- [@lwrjs/dev-proxy-server](https://npm.io/package/@lwrjs/dev-proxy-server.md) 0.24.1

## Recent versions

- 0.24.1 (latest) — 2026-09-15
- 0.23.22 (summer26) — 2026-09-23
- 0.19.9 (winter26) — 2026-09-15
- 0.22.21 (vanilla) — 2026-09-03
- 0.22.7-alpha.6 (alpha) — 2026-03-02
- 0.21.3 (next) — 2026-01-14
- 0.17.9 (summer25) — 2025-05-20
- 0.15.10 (patch) — 2025-03-28
- 0.13.10 (winter25) — 2024-10-28
- 0.12.4 (summer24) — 2024-06-21
- 0.11.15 (spring24) — 2024-03-01
- 0.10.14 (winter24) — 2023-12-08
- 0.23.21 — 2026-09-15
- 0.23.20 — 2026-09-04
- 0.23.19 — 2026-09-02
- … 609 more at https://npm.io/package/lwr/versions

## README

# Lightning Web Runtime on Node.js

[![NPM Version](https://img.shields.io/npm/v/lwr)](https://www.npmjs.com/package/lwr)
[![License](https://img.shields.io/npm/l/lwr)](MIT)

Lightning Web Runtime (LWR) enables you to build digital experiences that meet the high scale, security, and performance demands of modern web applications. LWR at its simplest is a non-opinionated way to configure and load the modules, services, and dependency providers you need to build a JavaScript app. You can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime, or as a standalone instance in Heroku.

## Documentation

For detailed usage and documentation, please refer to the [Documentation Site](https://developer.salesforce.com/docs/platform/lwr).

## Features

Some benefits of LWR are:

-   Performance — Thanks to page generation at build time, not runtime, and server side rendering our bar is set at sub-second full-page loads.
-   Friction-Free — An enjoyable local development experience.
-   Power — All the power of Lightning Web Components and the Salesforce platform at your disposal.

LWR describes any configurable aspects of the application in a well-defined, portable format. Because of this flexible deployment model, you can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime or as a standalone instance in Heroku or any hosting provider that supports Node.js.

## Installation

> **Compatibility Note:**
> LWR requires [Node.js](https://nodejs.org/en/) version >=20.0.0.

With NPM:

```bash
npm init lwr@latest
```

With Yarn:

```bash
yarn create lwr
```

Then follow the prompts!

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