cache-api-local
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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)

Package Sidebar

Install

npm i cache-api-local

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

14.6 kB

Total Files

9

Last publish

Collaborators

  • vinni0786