Skip to content

Instantly share code, notes, and snippets.

View omidnikrah's full-sized avatar
🚀
Developing new toys!

Omid Nikrah omidnikrah

🚀
Developing new toys!
View GitHub Profile
@omidnikrah
omidnikrah / simple-cache-api-requests.js
Last active July 13, 2020 06:48
Simple Cashe API Requests
class CacheRequests {
constructor() {
this.caches = new Map();
}
set(url, response) {
this.caches.set(url, response);
}
get(url) {