v4.2.0
New features since v4.1.0
- Added a command-line tool to help develop and debug
--rewrite
rules. This greatly speeds up the development of custom rewrites. Full documentation here.-
An example, testing a rewrite to a remote server:
$ npx lws-rewrite '/npm/:pkg' 'https://npmjs.org/package/:pkg' '/npm/renamer' https://npmjs.org/package/renamer
-
The same feature has also been added to lws-redirect.
-