uuid-generator-ts

A UUID generator in Typescript

Usage no npm install needed!

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

README

uuid-generator-ts

A UUID generator in Typescript

Build Status tested with jest Libraries.io dependency status for latest release Gitpod ready-to-code code style: prettier npm bundle size npm NPM

Installation

npm install uuid-generator-ts

Usage

import {UUID} from 'uuid-generator-ts';

const uuid = new UUID();

// Get a dash free UUID as string 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'
uuid.getDashFreeUUID();

Open in Gitpod