Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilicvane/ruff-fetch
A simplified version of `window.fetch` written for Ruff.
https://github.com/vilicvane/ruff-fetch
Last synced: 20 days ago
JSON representation
A simplified version of `window.fetch` written for Ruff.
- Host: GitHub
- URL: https://github.com/vilicvane/ruff-fetch
- Owner: vilicvane
- Created: 2016-04-15T10:07:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T03:12:20.000Z (over 8 years ago)
- Last Synced: 2024-11-30T15:42:00.228Z (23 days ago)
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simplified version of `window.fetch`.
GitHub
## Install
```sh
rap install fetch
```## Usage
Here's a simple example:
```js
var fetch = require('fetch');fetch('http://vane.life')
.then(function (response) {
return response.text();
})
.then(function (text) {
console.log(text);
});
```Please refer to source code for supported APIs.
## License
MIT License.