Skip to content

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

Notifications You must be signed in to change notification settings

vilicvane/ruff-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simplified version of window.fetch.

GitHub https://github.com/vilic/ruff-fetch

Install

rap install fetch

Usage

Here's a simple example:

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published