youcache
v2.0.0
Published
Easily create a cache path for your file system
Maintainers
Readme
YouCache
Easily create a cache path for your file system
Installation
Module
import YouCache from 'youcache'Commonjs
const YouCache = require('youcache')Usage
Create a new instance.
const cache = new YouCache('my-cache') // The name is required.path
Returns the path of the cache on the device.
console.log(cache.path)clear
Clears the entire contents of the cache.
await cache.clear()or
cache.clearSync()