smc-uuid-generator
v1.1.4
Published
128 digits uuid generator
Downloads
30
Maintainers
Readme
SMC UUID GENERATOR
A Node.js module that returns random text of 128 digits of base 16. Compatible with node express and angular ivy engine.
Installation
npm install smc-uuid-generator --save
Usage
Javascript
var newUUID = require('smc-uuid-generator');
var uuid = newUUID.generateUUID();
Output should be 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' long uuid (base 16 - 128 digits)
TypeScript
import generateUUID from 'smc-uuid-generator';
const newUUID = generateUUID();
Output should be 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' long uuid (base 16 - 128 digits)
Test
npm run test