gud

WebJar for gud

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gud
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

gud
WebJar for gud
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jamiebuilds/gud

Download gud

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

gud

Create a 'gud nuff' (not cryptographically secure) globally unique id

Install

yarn add gud

Usage

const gud = require('gud');

console.log(gud()); // 1
console.log(gud()); // 2

This is ever so slightly better than using something like _.uniqueId because it will work across multiple copies of the same module.

Do not use this in place of actual UUIDs, security folks will hate me.

This will not be unique across processes/workers.

Versions

Version
1.0.0