Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DeRain/hex-to-uuid
Convert hex string representation into uuid utf8 string
https://github.com/DeRain/hex-to-uuid
hex hex-to-uuid javascript-library nodejs npm-module npm-package uuid uuid-by-string uuid-parser
Last synced: 3 months ago
JSON representation
Convert hex string representation into uuid utf8 string
- Host: GitHub
- URL: https://github.com/DeRain/hex-to-uuid
- Owner: DeRain
- License: mit
- Created: 2017-11-14T12:11:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:41:19.000Z (almost 2 years ago)
- Last Synced: 2024-07-05T17:04:24.478Z (4 months ago)
- Topics: hex, hex-to-uuid, javascript-library, nodejs, npm-module, npm-package, uuid, uuid-by-string, uuid-parser
- Language: JavaScript
- Size: 99.6 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
- awesome-starred - DeRain/hex-to-uuid - Convert hex string representation into uuid utf8 string (nodejs)
README
# Convert HEX string to UUID string
[![Build Status](https://travis-ci.org/DeRain/hex-to-uuid.svg?branch=master)](https://travis-ci.org/DeRain/hex-to-uuid)
## Examples of using
```javascript
const hexToUuid = require('hex-to-uuid');
const uuidStringFromHexWithLeadingZero = hexToUuid('0xd3fd354067184687956bc8618a26e335');
console.log(uuidStringFromHexWithLeadingZero); //d3fd3540-6718-4687-956b-c8618a26e335const uuidStringFromHexWithoutLeadingZero = hexToUuid('e13b23e91dcb41c8ab0be65b84161d20');
console.log(uuidStringFromHexWithoutLeadingZero); //e13b23e9-1dcb-41c8-ab0b-e65b84161d20
```[UUID to HEX converter](https://www.npmjs.com/package/uuid-to-hex)