https://github.com/coderaiser/ponse
Module for work with requests and responses
https://github.com/coderaiser/ponse
cloudcmd javascript nodejs request response send
Last synced: 9 months ago
JSON representation
Module for work with requests and responses
- Host: GitHub
- URL: https://github.com/coderaiser/ponse
- Owner: coderaiser
- License: mit
- Created: 2014-08-14T12:26:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T22:16:11.000Z (almost 4 years ago)
- Last Synced: 2025-05-22T21:46:21.342Z (10 months ago)
- Topics: cloudcmd, javascript, nodejs, request, response, send
- Language: JavaScript
- Homepage:
- Size: 231 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# 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