uuid-to-hex
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/uuid-to-hex package

1.1.1 • Public • Published

Convert UUID string to hex string

Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i uuid-to-hex

Weekly Downloads

1,530

Version

1.1.1

License

MIT

Unpacked Size

4.06 kB

Total Files

6

Last publish

Collaborators

  • derain