writeJsFileUsingTemplate = async (
  targetFilePath,
  sourceFilePath,
  options,
  variables
) =>
  writeFile(
    targetFilePath,
    (await jsFileTemplate(sourceFilePath, options))(variables)
  )
Write a javascript file using another file as a (lodash) template

@param {string} targetFilePath
@param {string} sourceFilePath
@param {_.TemplateOptions} options options passed to lodash templates