Need private packages and team management tools?Check out npm Teams »

lws-rewrite

3.0.0 • Public • Published

view on npm npm module downloads Build Status Dependency Status Coverage Status js-standard-style

lws-rewrite

lws middleware plugin adding URL rewriting support. For usage instructions see here.

Adds the following options to lws.

--rewrite, -r expression ...   A list of URL rewrite rules. For each rule, separate the 'from' and 'to'
                               routes with '->'. Whitespace surrounded the routes is ignored. E.g. '/from ->
                               /to'.

© 2016-19 Lloyd Brookes <75pound@gmail.com>.

Install

npm i lws-rewrite

DownloadsWeekly Downloads

22,105

Version

3.0.0

License

MIT

Unpacked Size

10.7 kB

Total Files

5

Last publish

Collaborators

  • avatar