unique-string
Generate a unique random string
Last updated 4 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install unique-string 
SYNC missed versions from official npm registry.

unique-string

Generate a unique random string

Install

$ npm install unique-string

Usage

import uniqueString from 'unique-string';

uniqueString();
//=> 'b4de2a49c8ffa3fbee04446f045483b2'

API

uniqueString()

Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.

Current Tags

  • 3.0.0                                ...           latest (4 years ago)

3 Versions

  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)

Copyright 2013 - present © cnpmjs.org | Home |