forget(data)
removes specified modules from require.cache
data - absolute path or array of absolute paths to node module(s)
findDependents(path)
returns array of all dependent modules paths
path - absolute path to dependency module
data - absolute path or array of absolute paths to node module(s)
path - absolute path to dependency module
npm i @sanvyx/node_cache
0
1.0.2
MIT
3.06 kB
7