README
unique-type
Takes a mostly unique string and ensures that it is globally unique.
const uniqueType = require('unique-type');
uniqueType('foo'); // foo
uniqueType('foo'); // foo:1
Takes a mostly unique string and ensures that it is globally unique.
<script type="module">
import uniqueType from 'https://cdn.skypack.dev/unique-type';
</script>
Takes a mostly unique string and ensures that it is globally unique.
const uniqueType = require('unique-type');
uniqueType('foo'); // foo
uniqueType('foo'); // foo:1