1.1.0 • Published 8 years ago
unique-type v1.1.0
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.
const uniqueType = require('unique-type');
uniqueType('foo'); // foo
uniqueType('foo'); // foo:1