Skip to content

metabolize-forks/uuid-to-hex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@metabolize/uuid-to-hex

Convert UUID string to hex string.

Active fork of uuid-to-hex, which depends on a vulnerable version of validator.

Examples of using

const uuidToHex = require('uuid-to-hex');
const hexStringWithLeadingZero = uuidToHex('d3fd3540-6718-4687-956b-c8618a26e335', true);
console.log(hexStringWithLeadingZero); //0xd3fd354067184687956bc8618a26e335

const hexString = uuidToHex('e13b23e9-1dcb-41c8-ab0b-e65b84161d20');
console.log(hexString); //e13b23e91dcb41c8ab0be65b84161d20

HEX to UUID converter

About

Convert uuid string representation into hex string

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%