Skip to content

fghibellini/uuid-annotation-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UUIDs Annotation DEMO (Chrome Extension)

Are you tired of trying to memorize UUID's? Then this is the Chrome extension for you!

Just install, and hover over any UUID.

  • 7a18a230-f4d0-4fbb-b706-0a16479409a5
  • e149f586-0376-4a5b-9955-ffad5b139d02
// just resolve any UUID to an HTML snippet and we'll take care of the rest
function myUuidResolutionFunction(uuid) {
  const knownUUIDs = [
    { uuid: '7a18a230-f4d0-4fbb-b706-0a16479409a5', html: `The best <b>UUID</b> ever!` }
  ]
  const matchingResult = knownUUIDs.find(x => x.uuid === uuid);
  const html = matchingResult ? matchingResult.html : `<i>UNKNOWN UUID</i>`;
  return html;
}

init(myUuidResolutionFunction);

preview

More

About

UUID annotating Chrome Extension Prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published