Skip to content

Replacements for find-cache-dir

empathic

empathic provides a more generic way to find files and directories upwards.

Example:

ts
import * as pkg from 'empathic'
import findCacheDirectory from 'find-cache-dir'

findCacheDirectory({ name: 'foo' }) 
pkg.cache('foo') 

Released under the MIT License. (a44cbf10)