Skip to content

nyg/js-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-fetch

Description

js-fetch is a basic wrapper around the Javascript Fetch API. At the moment, its main use is for retrieving JSON from external URLs (using cors-anywhere.herokuapp.com).

Examples

Code examples can be found in tests/tests.html. Live examples here.

Use

jsDelivr can be used to serve a specific version (see tags for version numbers):

<script src="https://cdn.jsdelivr.net/gh/nyg/js-fetch@x.y.z/fetch.js"></script>