amazon s3 - Best way to generate a data file in a Gulp Image asset pipeline -
i building image pipeline using gulp , in process need generate data file key information image being uploaded. at moment, using gulp-responsive process images , gulp-s3-upload push them s3. for example, if image solar-eclipse.jpg , data file should be: file path: data/solar-eclipse.yml what best way gather data, , separately, best way push data new file? here our current gulpfile.js — https://github.com/gsa/digitalgov.gov/blob/media-pipeline/gulpfile.js date : 2017-08-21 13:52:15 -0400 uid : solar-eclipse width : 1200 height : 800 format : jpg wiki