Skip to content

FreakDev/cached-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cFetch

Cached Fetch

mini lib to automatically perform an ajax fetch and store its result into a cache

usage :

<script src="../dist/index.js"></script>
<script>
    cfetch.fecth("data.json", { checkNetwork: false /* default value : true */ });

    /// node 
    /// var cfetch = require('cfetch')
    /// cfecth.fetch("http://...", { /* options */ })
</script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published