Sha256: 0a2da601bb8bdc38c7e145ffd6a141a4e2c57f8023c6594418f253e00cd68e67

Contents?: true

Size: 597 Bytes

Versions: 196

Compression:

Stored size: 597 Bytes

Contents

#!/usr/bin/env node

var path = require('path');
var uuid = require(path.join(__dirname, '..'));

var arg = process.argv[2];

if ('--help' === arg) {
  console.log('\n  USAGE: uuid [version] [options]\n\n');
  console.log('  options:\n');
  console.log('  --help                     Display this message and exit\n');
  process.exit(0);
}

if (null == arg) {
  console.log(uuid());
  process.exit(0);
}

if ('v1' !== arg && 'v4' !== arg) {
  console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"');
  process.exit(1);
}

console.log(uuid[arg]());
process.exit(0);

Version data entries

196 entries across 157 versions & 14 rubygems

Version Path
sumomo-0.10.8 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.10.4 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.10.3 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.10.2 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.10.1 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.10.0 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.9.0 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.22 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.21 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.20 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.17 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.16 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.15 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.14 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.13 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.12 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.11 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.10 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.9 data/sumomo/api_modules/node_modules/uuid/bin/uuid
sumomo-0.8.8 data/sumomo/api_modules/node_modules/uuid/bin/uuid