Skip to content
forked from lwsjs/rewrite

lws middleware plugin adding URL rewriting support

License

Notifications You must be signed in to change notification settings

lozercaustic/rewrite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI 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-24 Lloyd Brookes <75pound@gmail.com>.

About

lws middleware plugin adding URL rewriting support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%