Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
/ Yoki Public archive

A simple extinction of the JavaScript map utility class for quick caching

License

Notifications You must be signed in to change notification settings

AkumaKodo/Yoki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yoki

Yoki is a fast caching layer for Deno modules with javascript. Extended from the Internal js Map class but with more utilities.

Example

const Cache = new Yoki({
  debug_mode: true,
});

Cache.size; // => 0

Cache.create("1", {
  name: "Yoki test 1",
}); // => { name: "Yoki test 1" }

Cache.create("2", {
  name: "Yoki test 2",
}); // => { name: "Yoki test 2" }

Cache.create("3", {
  name: "Yoki test 3",
}); // => { name: "Yoki test 3" }

Cache.exists("1"); // => true

Cache.find("1"); // => { name: "Yoki test 1" }

Usage & methods

soon

About

A simple extinction of the JavaScript map utility class for quick caching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published