Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

lws-rewrite

3.0.1 • 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-20 Lloyd Brookes <75pound@gmail.com>.

Install

npm i lws-rewrite

DownloadsWeekly Downloads

24,005

Version

3.0.1

License

MIT

Unpacked Size

10.7 kB

Total Files

5

Last publish

Collaborators

  • avatar