unique-string

WebJar for unique-string

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

unique-string
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

unique-string
WebJar for unique-string
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/unique-string

Download unique-string

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/unique-string/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>unique-string</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/unique-string/
implementation 'org.webjars.npm:unique-string:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/unique-string/
implementation ("org.webjars.npm:unique-string:2.0.0")
'org.webjars.npm:unique-string:jar:2.0.0'
<dependency org="org.webjars.npm" name="unique-string" rev="2.0.0">
  <artifact name="unique-string" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='unique-string', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "unique-string" % "2.0.0"
[org.webjars.npm/unique-string "2.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : crypto-random-string jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

unique-string Build Status

Generate a unique random string

Install

$ npm install unique-string

Usage

const uniqueString = require('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.

License

MIT © Sindre Sorhus

Versions

Version
2.0.0
1.0.0