https://github.com/colohr/hyper
HyperText Transfer Protocol Module
https://github.com/colohr/hyper
Last synced: 4 months ago
JSON representation
HyperText Transfer Protocol Module
- Host: GitHub
- URL: https://github.com/colohr/hyper
- Owner: colohr
- Created: 2018-07-08T08:15:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-08T08:15:36.000Z (about 7 years ago)
- Last Synced: 2025-03-12T15:03:58.307Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hyper
-----------------------------
The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, and hypermedia information systems. HTTP is the foundation of data communication for the World Wide WebFeedback:
----------------```js
const hyper = require('hyper')
hyper.get(url).then(({
base64, //() => Base64 encoded text
buffer, //(from_type='uft8') => Buffer
json, //() => JSON object
text //()=> text
})=>{const data = json()
})
```