uuid

UUID - Universally unique identifier

There is 1 snippet with the uuid tag

  • Generate a UUID using node.js

    Generate RFC4122 version 1 or version 4 UUIDs in node.js.

    var http = require("http");
    var uuid = require("node-uuid");
    
    http.createServer(function(req, res) {
    
      // v1 (time-based)
      res.write("<p>" + uuid.v1() + "</p>");
    
      // v4 (random)
      res.write("<p>" + uuid.v4() + "</p>");
    
      res.end();
    
    }).listen(8080);
    30 Aug 2013