code: function svgToString (filename) {
    if (!/\.svg$/i.test(filename)) {
      return through()
    }
  
    return through(function (buf, enc, next) {
      this.push('module.exports=' + JSON.stringify(buf.toString('utf8')))
      next()
    })
  }
docs: Transform a svg file to a module containing a JSON string