You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
467 B

8 years ago
  1. class MiddlewareList {
  2. description () {
  3. return 'Print available middleware'
  4. }
  5. execute (options) {
  6. const list = [
  7. 'lws-log',
  8. 'lws-cors',
  9. 'lws-json',
  10. 'lws-rewrite',
  11. 'lws-body-parser',
  12. 'lws-blacklist',
  13. 'lws-conditional-get',
  14. 'lws-mime',
  15. 'lws-compress',
  16. 'lws-mock-response',
  17. 'lws-spa',
  18. 'lws-static',
  19. 'lws-index'
  20. ]
  21. console.log(list)
  22. }
  23. }
  24. module.exports = MiddlewareList