Thursday, January 4, 2018

generate UUIDs

Java, Scala

It's in the standard library.

java.util.UUID.randomUUID

Node.js

npm install uuid

var uuid = require("uuid");



uuid.v4();


PHP

Install ramsey/uuid from composer.

$uuid4 = Uuid::uuid4();

Haskell

Install uuid from hackage

uuid :: IO UUID
uuid = nextRandom

Featured Post

British-based startup ARC unveiled its first motorcycle model in Milan this week

One being described as fast, advanced and expensive. The so-called Vector costs more than $100,000