Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 620 Bytes

TODO.md

File metadata and controls

19 lines (16 loc) · 620 Bytes

TODOs

Functionality

  • Add clear command
  • Add exit command
  • Add HTTPS support
  • Add HTTP2 support
  • Capture query params
  • Allow several responses by status code
  • Create some kind of syntax to enable more complicated behaviour
    • Use of more complex regex to capture path or query params
    • Create responses with some kind of transformation of the request params (Not sure about this one)

Structure

  • Use an npm structure like for the project
  • Modularize
  • Use something like prompt (https://www.npmjs.com/package/prompt) instead of readline to improve readability
  • Use axios to handle http request