1.0.3 • Published 1 year ago
cache-api-local v1.0.3
Installation
npm install cache-api-local
Coding Example
import CacheApi from "cache-api-local";
const ss = new CacheApi("https://jsonplaceholder.typicode.com", "data", 100);
ss.getData("/photos/1?t=12", "photo");
Props
new CacheApi(baseUrl,saveFolderName,revalidate_time_in_sec)