0.5.28 • Published 6 years ago

wfilesfiltercaching v0.5.28

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

wFilesFilterCaching Build Status

Filter that works same like original provider, but additionally updates it own file stats, names and record caches. Each cache is a map with file path as a key and cached data as value. Also filter can use file watcher to update cache on changes made by other processes. To perform behavior of original provider filter wraps its methods.

Installation

npm install wfilesfiltercaching

Usage

Options

Please visit wFiles for information about providers.

Example
var caching = _.FileFilter.Caching();

/* make file operation like real provider*/

var filePath = 'path/to/file';
var stats = cachingStats.fileStat( filePath );
console.log( stats );

/* get file stats cache */
console.log( "Stats: ", caching._cacheStats );
0.5.28

6 years ago

0.5.27

6 years ago

0.5.26

6 years ago

0.5.25

6 years ago

0.5.24

6 years ago

0.5.23

6 years ago

0.5.22

6 years ago

0.5.21

6 years ago

0.5.20

6 years ago

0.5.19

6 years ago

0.5.18

6 years ago

0.5.17

6 years ago

0.5.16

6 years ago

0.5.15

6 years ago

0.5.14

7 years ago

0.5.13

7 years ago