code: async function generateJson(options, generatorResult) {
    const jsonPath = (
      options.jsonPath ||
      `${ path.join(options.outputDir, '/' + options.fontName) }.json`
    )
  
    const css = generatorResult.generateCss()
    let map = {}
  
    css.replace(CSS_PARSE_REGEX, (match, name, code) => map[name] = code)
  
    await fsAsync.writeFile(jsonPath, JSON.stringify(map, null, 4))
  }
docs: Generate JSON icons map by parsing the generated CSS
  
  @param  {Object} options
  @return {void}