GitHub - coderaiser/ponse: Module for work with requests and responses · GitHub
Skip to content

coderaiser/ponse

Folders and files

Repository files navigation

Ponse License NPM version Build Status Coverage Status

image

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

createStatic(options) - serve static content

  • options:
    • cache
    • root

send(data, params) - send data

License

MIT

About

Module for work with requests and responses

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors