1.0.3 • Published 1 year ago

cache-api-local v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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)
1.0.2

1 year ago

1.0.1

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago