Skip to content
coderaiserPublic

About

Module for work with requests and responses

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

210 Commits

Folders and files

Repository files navigation

Ponse License NPM version Build Status Coverage Status

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

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages