Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vilicvane/ruff-fetch

A simplified version of `window.fetch` written for Ruff.
https://github.com/vilicvane/ruff-fetch

Last synced: about 2 months ago
JSON representation

A simplified version of `window.fetch` written for Ruff.

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.