vinyl-cache

Vinyl transformer to cache transformations in memory

Usage no npm install needed!

<script type="module">
  import vinylCache from 'https://cdn.skypack.dev/vinyl-cache';
</script>

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.