@skyhookadventure/unique-id

Generates UUIDs in the Skyhook preferred format.

Usage no npm install needed!

<script type="module">
  import skyhookadventureUniqueId from 'https://cdn.skypack.dev/@skyhookadventure/unique-id';
</script>

README

skyhook-unique-id

Built with typescript version dependants license

Generates UUIDs of format prefix_UUID where the UUID is 16 characters.

Use

import generateId from '@skyhookadventure/unique-id';
const res = generateId('bk'); // Returns bk_16CharUUID

Checklist

CD Feature Provided
Typescript
Linting (AirBnB + Prettier)
Unit tests (Jest)
Coverage check (ideally 100% with Jest)
Github Continuous Deployment

Built by Skyhook

This module is contributed by the team at Skyhook.