unique-type
Takes a mostly unique string and ensures that it is globally unique.
Last updated 4 years ago by nevir .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install unique-type 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

4 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |