README
Install
npm install vinyl-cache
usage
vinyl.src(someFile)
.pipe(cache(someTransformation, cacheObject));
The cacheObject
parameter is optional. If not given then a new cache will be created.
Vinyl transformer to cache transformations in memory
<script type="module">
import vinylCache from 'https://cdn.skypack.dev/vinyl-cache';
</script>
npm install vinyl-cache
vinyl.src(someFile)
.pipe(cache(someTransformation, cacheObject));
The cacheObject
parameter is optional. If not given then a new cache will be created.