/ponse

Module for work with requests and responses

Primary LanguageJavaScriptMIT LicenseMIT

Ponse

Module for work with requests and responses

Install

npm i ponse --save

Api

isGZIP(request) check is gzip supported

  • http request

getPathName(request) - get pathname

  • http request

getQuery(request) - get query

  • http request

static(directory, options) - serve static content

  • directory path
  • options:
    • cache

License

MIT