A Gulp plugin for caching files to disk, enabling incremental builds by filtering out unchanged files between runs. Version 0.0.1 is the initial and only release, published with a sparse API including filter() and cache() methods. It creates a cache file (default .gulp-cache) and uses through2 streams. The project is unmaintained since 2014, with no updates, no TypeScript typings, and limited error handling. It is a simple alternative to more robust caching tools like gulp-cached or gulp-changed, but lacks features such as content-based hashing or cache invalidation.
npm install gulp-file-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Lints only new or modified JavaScript files since last run, using file-cache to skip unchanged files.
Use new FileCache('my-cache-file') or FileCache.create('my-cache-file') to specify a custom cache file.Always call fileCache.cache() after the transform to save the current file list for next run.
Manual type declarations may be needed for TypeScript projects.
Consider migrating to actively maintained plugins like gulp-newer or gulp-changed.
Run 'npm install --save-dev gulp-file-cache'.
Use 'var fileCache = new FileCache();' then call 'fileCache.filter()'.
This error appears if the cache file is read before creation. Ensure filter() and cache() are used together, and the first run will create the cache file.