# Install lws-rewrite with npm

lws middleware plugin adding URL rewriting support. Version 4.0.0 via npm; verified 2024-07-25.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:lws-rewrite
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/lws-rewrite>
- **Version:** 4.0.0
- **Source summary:** lws middleware plugin adding URL rewriting support
- **Homepage:** <https://github.com/lwsjs/rewrite#readme>
- **Repository:** <https://github.com/lwsjs/rewrite>
- **Upstream docs:** <https://github.com/lwsjs/rewrite#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-4.0.0.tgz>
- **Issue tracker:** <https://github.com/lwsjs/rewrite/issues>
- **Published:** 2024-07-25T10:44:01.085Z
- **Last updated:** 2024-07-25T10:44:01.085Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lws-rewrite (cli)
- lws-rewrite (alias)

## Dependencies

- array-back
- http-proxy-agent
- https-proxy-agent
- koa-route
- path-to-regexp

## Build dependencies

- lws
- lws-body-parser
- lws-cors
- lws-err-detail
- lws-static
- node-fetch
- test-runner

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.0
- Package-manager updated: 2024-07-25
- Local data: ok
- Upstream repository: https://github.com/lwsjs/rewrite
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for lws-rewrite. Nucleus 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.0.0
- **Version Count:** 34
- **Maintainers:** 75lb
- **Author:** Lloyd Brookes
- **Publisher:** 75lb
- **Engines:** Node: >=12.17
- **Integrity:** sha512-I9rNDyAuy/1Wz2WMWTqjxFMlUTr8CugdHlUCjIudQkt04YnRdhP32iAoRnVnLsgP1UOiM44dxTW2EomQHHfirw==
- **Shasum:** e442517af13037ce6b43ceebcb8671ea1a136f6b
- **Unpacked Size:** 11,786
- **File Count:** 0
- **Created At:** 2017-03-19T22:13:37.072Z
- **Latest Published At:** 2024-07-25T10:44:01.085Z
- **Modified At:** 2024-07-25T10:44:01.245Z


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [lws](https://www.automicvault.com/pkg/npm/lws/) - Package names and metadata indicate a similar tool family. Shared terms: array, array-back, back, http, https.
- [release-please](https://www.automicvault.com/pkg/npm/release-please/) - Local package facts share a topical domain. Shared terms: agent, http, http-proxy-agent, https, https-proxy-agent.
- [cy2](https://www.automicvault.com/pkg/npm/cy2/) - Local package facts share a topical domain. Shared terms: agent, http, https, https-proxy-agent, proxy.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
