index.js
function load(icon) {
  if (cache[icon]) return cache[icon];
  return cache[icon] = fs.readFileSync(__dirname + '/public/icons/' + icon, 'base64');
}
function load(icon) {
  if (cache[icon]) return cache[icon];
  return cache[icon] = fs.readFileSync(__dirname + '/public/icons/' + icon, 'base64');
}
function load ( icon ) { if ( cache [ icon ] ) return cache [ icon ] ; return cache [ icon ] = fs . readFileSync ( __dirname + '/public/icons/' + icon , 'base64' ) ; }
Load and cache the given `icon`.

@param {String} icon
@return {String}
@api private
Load and cache the given icon .