@jmd01/lws-rewrite

3.1.1 • Public • Published

Fork of lws-rewrite

Inserts cache headers into the response

view on npm npm module downloads Gihub repo dependents Gihub package dependents Build 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>.

/@jmd01/lws-rewrite/

    Package Sidebar

    Install

    npm i @jmd01/lws-rewrite

    Weekly Downloads

    884

    Version

    3.1.1

    License

    MIT

    Unpacked Size

    12.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • jmd01