export function parseProfileFromBuffer()

in library/markdown-parser/models/profile.ts [41:45]


export function parseProfileFromBuffer(name: string, buffer: Buffer): Profile {
  const { title, image, blog, github } = parse(String(buffer)) || {};
  const id = generateUUID(name);
  return new Profile(id, name, title, image || pickRandom(Configuration.image.profile), blog, github);
}