# Install lws with npm

A lean, modular web server for rapid full-stack development. Version 4.2.1 via npm; verified 2026-07-06. Also installable with macports: sudo port install lws.

## Install

```sh
sudo av install npm:lws
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g lws
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:lws
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/lws>
- **Version:** 4.2.1
- **Source summary:** A lean, modular web server for rapid full-stack development
- **Homepage:** <https://github.com/lwsjs/lws#readme>
- **Repository:** <https://github.com/lwsjs/lws>
- **Upstream docs:** <https://github.com/lwsjs/lws#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/lws/-/lws-4.2.1.tgz>
- **Issue tracker:** <https://github.com/lwsjs/lws/issues>
- **Published:** 2026-07-06T19:37:40.211Z
- **Last updated:** 2026-07-06T19:37:40.211Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- lws (cli)
- lws (alias)

## Dependencies

- @75lb/deep-merge
- ansi-escape-sequences
- array-back
- byte-size
- command-line-args
- command-line-usage
- create-mixin
- current-module-paths
- koa
- load-module
- open
- qrcode-terminal
- typical
- walk-back

## Build dependencies

- jsdoc-to-markdown
- lws-static
- node-fetch
- sleep-anywhere
- test-runner

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.2.1
- Package-manager updated: 2026-07-06
- Local data: ok
- Upstream repository: https://github.com/lwsjs/lws
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for lws. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.2.1, Next: 4.0.0-2
- **Version Count:** 83
- **Maintainers:** 75lb
- **Author:** Lloyd Brookes
- **Publisher:** 75lb
- **Engines:** Node: >=12.20
- **Integrity:** sha512-KE8prUUZWn83fQ55mDRWx8asxqhToX0tOhxIiC4pXfVvRN1Y/eTvw8nez7ix4CqHOT3RT/YaOd5erXiaa0hBBg==
- **Shasum:** 10ccd8c7d883f87943235a5e5320bb1cbc3049c2
- **Unpacked Size:** 49,529
- **File Count:** 0
- **Created At:** 2016-01-19T00:56:27.608Z
- **Latest Published At:** 2026-07-06T19:37:40.211Z
- **Modified At:** 2026-07-06T19:37:40.312Z

## Other Package-Manager Records

- MacPorts - lws: normalized package name match | MacPorts ports tree: www/lws/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [local-web-server](https://pkg.so/npm/local-web-server/) - Local package facts share a topical domain. Shared terms: backend, cli, current, current-module-paths, dev.
- [lws-rewrite](https://pkg.so/npm/lws-rewrite/) - Package names and metadata indicate a similar tool family. Shared terms: array, array-back, back, cli, development.
- [lite-server](https://pkg.so/npm/lite-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, development, development-servers, http, networking.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
