coderaiser / ponse

Module for work with requests and responses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ponse

Module for work with requests and responses

Install

npm i ponse --save

Api

isGZIP(request) check is gzip supported

  • http request

getPathName(request || string) - get pathname

  • http request

getQuery(request || string) - get query

  • http request

static(options) - serve static content

  • options:
    • cache
    • root

send(data, params) - send data

License

MIT

About

Module for work with requests and responses

License:MIT License


Languages

Language:JavaScript 100.0%