How to use the jdenticon.jdenticon.version function in jdenticon

To help you get started, we’ve selected a few jdenticon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / jdenticon / jdenticon-tests.ts View on Github external
function testJdenticon() {
  if (typeof jdenticon.version !== 'string') {
    throw '.version should be of string type.';
  }

  jdenticon.update('#jdenticon', 'd6d7705392bc7af633328bea8c4c6904', 8);
}