Binato/server/util/shortUUID.js
2022-09-30 11:34:13 +01:00

5 lines
No EOL
113 B
JavaScript
Executable file

const uuid = require("uuid").v4;
module.exports = function() {
return uuid().split("-").slice(0, 2).join("");
}