Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/extensionsapp/reqit
Simple http request for NodeJS
https://github.com/extensionsapp/reqit
Last synced: 7 days ago
JSON representation
Simple http request for NodeJS
- Host: GitHub
- URL: https://github.com/extensionsapp/reqit
- Owner: extensionsapp
- Created: 2018-10-25T19:17:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T19:20:29.000Z (about 6 years ago)
- Last Synced: 2023-12-23T10:06:19.046Z (11 months ago)
- Language: JavaScript
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple request for NodeJS.
### Installation
```
npm i regit
```### Usage
Get Google status, title and body:
```javascript
const reqit = require('reqit');reqit({
url: 'https://www.google.com',
charset: 'utf-8'},
(error, result) => {
console.log(result);
});
// {status: 200, title: 'Google', body: '...'}
```© 2018 ExtensionsApp