smc-uuid-generator

128 digits uuid generator

Usage no npm install needed!

<script type="module">
  import smcUuidGenerator from 'https://cdn.skypack.dev/smc-uuid-generator';
</script>

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