const hexToUuid = require('hex-to-uuid');
const uuidStringFromHexWithLeadingZero = hexToUuid('0xd3fd354067184687956bc8618a26e335');
console.log(uuidStringFromHexWithLeadingZero); //d3fd3540-6718-4687-956b-c8618a26e335
const uuidStringFromHexWithoutLeadingZero = hexToUuid('e13b23e91dcb41c8ab0be65b84161d20');
console.log(uuidStringFromHexWithoutLeadingZero); //e13b23e9-1dcb-41c8-ab0b-e65b84161d20
-
Notifications
You must be signed in to change notification settings - Fork 2
Convert hex string representation into uuid utf8 string
License
DeRain/hex-to-uuid
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Convert hex string representation into uuid utf8 string
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published