{"_id":"guid","_rev":"40-1eac4329057703c46c53925147d27046","name":"guid","description":"A Guid generator and validator.","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.5":{"name":"guid","description":"A Guid generator and validator.","version":"0.0.5","homepage":"http://github.com/dandean/guid","author":{"name":"Dan Dean","email":"me@dandean.com","url":"http://dandean.com"},"contributors":[],"repository":{"type":"git","url":"http://github.com/dandean/guid.git"},"bugs":{"mail":"me@dandean.com","web":"http://github.com/dandean/guid/issues"},"main":"guid","engines":{"node":">=0.2.0"},"licenses":[{"type":"MIT","url":"http://github.com/dandean/guid/raw/master/LICENSE"}],"_id":"guid@0.0.5","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"https://registry.npmjs.org/guid/-/guid-0.0.5.tgz","shasum":"b85da463d31d2d0cc1542987b6679afd1833313f","integrity":"sha512-uDjDnyBEojPuEUigXRYr47zYZaeo8kQOavhUqKEToCkCMPKXcSmvaTENc/vM44cHogcWlaxwT2dj2gMwYSF1eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+HL4dT/K0gLWL5aRNO8H+yti+1Hn9ZnxdEGlzo1aqPgIgXv2K8pFrWkCeLmJ5YxPExDTvK4yyfMUijsEwiQFDRvQ="}]},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.6":{"name":"guid","description":"A Guid generator and validator.","version":"0.0.6","homepage":"http://github.com/dandean/guid","author":{"name":"Dan Dean","email":"me@dandean.com","url":"http://dandean.com"},"contributors":[],"repository":{"type":"git","url":"http://github.com/dandean/guid.git"},"bugs":{"mail":"me@dandean.com","web":"http://github.com/dandean/guid/issues"},"main":"guid","engines":{"node":">=0.2.0"},"licenses":[{"type":"MIT","url":"http://github.com/dandean/guid/raw/master/LICENSE"}],"_id":"guid@0.0.6","_nodeSupported":true,"dist":{"tarball":"https://registry.npmjs.org/guid/-/guid@0.0.6.tgz","shasum":"de4bfc0eeb9097f07b46ae39faef4c0d80eb1a29","integrity":"sha512-vQvZ54gmlhl/NPRwuLue+u9iZ2wwEYEVGrnzYXgAha5bWSlwF33wvDjoSfg8Z4pamJGV1Kg5l2CLbMvS407pHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3fXbLrvSpZlebMlagek25SQ0xz2zvCMJUMJfhO1FjIQIgUCQjOJwptNLr1UjoMavDl6vy5R05SV+kmVafVpVQOuk="}]},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.7":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.7","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","_npmJsonOpts":{"file":"/Users/dand/.npm/guid/0.0.7/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"guid@0.0.7","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"9c188d811982ae4d24fad0394cbebb72b9fb68cf","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.7.tgz","integrity":"sha512-rAppISPcaKKUMkJS+SoSxH276xtUEZd8+r8juacJNGeLrmA+gbsR8dF9Ia5nlc/2JBbimz1k7sobjf5oKhx3qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqPaK+TkfXo56QUHgqEZ+DK+HbqJsZxwj+v6Xzq0cHXgIhAIewoN0kY5Tgds7f1WCZt14nJBywA6rO3ghOnjRmEXcH"}]},"scripts":{},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.8":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.8","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","_npmJsonOpts":{"file":"/Users/dand/.npm/guid/0.0.8/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"guid@0.0.8","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"214bb50bac30a7eef2a39cbb8b40bfad150bd122","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.8.tgz","integrity":"sha512-GEYKELdROC49uXgDQoTf2xcFikWuZdRMCmNulXpHPNdiPfdGPQeUwcjYQQaiCcLojwBS443B9VzU3bz58VQgrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+mIPJVEkSXRbkSfV4uaxxgVD0fe4O1I5JRjaq5hqvTQIgBDtrfJmBV0wUI9B3lmBnm1nNcc8jcwx/sLpQRj3vzEQ="}]},"scripts":{},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.9":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.9","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","_npmJsonOpts":{"file":"/Users/dand/.npm/guid/0.0.9/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"guid@0.0.9","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"23926f2490b6c37076f08fa9caa04f8513b1bddb","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.9.tgz","integrity":"sha512-pFrYdzGYvQZALKYkxzPyVMxB7I+gSsWJ8ivNaWsZt2sGefWGpiSxa75+Ua4odq2N9/0pJjMZsOKJwRWfc3CYqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIEwtDfn8+z2Hg+hIowjpgHx3sYvtGFSXFyB7H5zSuUAiAukkq3Ck/ustYbcoPPeHj3+a07F26aP6+WO7yysTaO5A=="}]},"scripts":{},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.10":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.10","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","_npmJsonOpts":{"file":"/Users/dand/.npm/guid/0.0.10/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"guid@0.0.10","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.5","_defaultsLoaded":true,"dist":{"shasum":"1cc2afe26d933114dcd255740318ae577284ec2b","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.10.tgz","integrity":"sha512-0oMxNIYtV5/MPVXxp/G5czqbRxwT2GdOzNj4OLdLRBvHwH8Tyvu7rLFLtZe1bps+uZO5pZ3QkFlreaUwOOk7FA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2VXsGxzayZu2zYyfiJNTU0MoZgqBX/OqIw7dgtJQJ2wIgar81ic7lVLEiLrc7lKwSn6aKr9OBaIqN2O05Rd7PCkw="}]},"scripts":{},"deprecated":"Please use node-uuid instead. It is much better."},"0.0.11":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.11","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"scripts":{"test":"mocha -R spec -u tdd tests/*.js"},"contributors":[{"name":"Tommy Messbauer"}],"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","devDependencies":{"mocha":"~1.14.0"},"testling":{"browsers":{"ie":[6,7,8,9,10],"ff":[24,25,"nightly"],"chrome":[28,29,30,31,"canary"],"safari":["5.0.5",5.1],"android-browser":[4.2],"opera":[17,"next"],"iphone":[6],"ipad":[6]},"harness":"mocha-tdd","files":"tests/*.js"},"bugs":{"url":"https://github.com/dandean/guid/issues"},"_id":"guid@0.0.11","dist":{"shasum":"21bcd02cde704b226652e6be78c15fef45bfdbc0","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.11.tgz","integrity":"sha512-BIljBcO78VYlpQc+RFoNFJE2nBsfOrZO5mgAuBcXjhEuei/4AJdtFopBMS+VmlN3mgmK/m4lqvl43YXUnGz1/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2QvihH1TASTdm27uHrOecoxqptsRXzquCrleuiWG37AiEAiuzBnpa53TCPs85Y7Si8sYSgi0RkZmRzMp8o1hLMDdw="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dandean","email":"me@dandean.com"},"maintainers":[{"name":"dandean","email":"me@dandean.com"}],"deprecated":"Please use node-uuid instead. It is much better."},"0.0.12":{"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"name":"guid","description":"A Guid generator and validator.","version":"0.0.12","homepage":"https://github.com/dandean/guid","repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"scripts":{"test":"mocha -R spec -u tdd tests/*.js"},"contributors":[{"name":"Tommy Messbauer"}],"main":"./guid","licenses":[{"type":"MIT","url":"https://github.com/dandean/guid/raw/master/LICENSE"}],"ender":"./ender.js","devDependencies":{"mocha":"~1.14.0"},"testling":{"browsers":{"ie":[6,7,8,9,10],"ff":[24,25,"nightly"],"chrome":[28,29,30,31,"canary"],"safari":["5.0.5",5.1],"android-browser":[4.2],"opera":[17,"next"],"iphone":[6],"ipad":[6]},"harness":"mocha-tdd","files":"tests/*.js"},"bugs":{"url":"https://github.com/dandean/guid/issues"},"_id":"guid@0.0.12","dist":{"shasum":"9137c52b185f7de12490b9bebcc1660b9025fe0c","tarball":"https://registry.npmjs.org/guid/-/guid-0.0.12.tgz","integrity":"sha512-J0MCgzgJcvLarLGTeVIhXdQwqlEJ9rxmxc/X71GR4VR5V/BIQ9FFfzGL52qYKgREQI8qPevc1qFNwB/4VnBuRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAh28rd4LpM2FFhruURC7oetzw6i2fpywdnBStwudIYAiBnurCsLXq9KNudvyzii6l316AVyWhHMIkXuhKxg6CAXw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dandean","email":"me@dandean.com"},"maintainers":[{"name":"dandean","email":"me@dandean.com"}],"deprecated":"Please use node-uuid instead. It is much better."}},"maintainers":[{"name":"dandean","email":"me@dandean.com"}],"author":{"name":"Dan Dean","email":"@dandean","url":"http://dandean.com"},"repository":{"type":"git","url":"git://github.com/dandean/guid.git"},"time":{"modified":"2022-06-18T16:30:23.187Z","created":"2011-07-13T06:18:20.454Z","0.0.5":"2011-07-13T06:18:20.454Z","0.0.6":"2011-07-13T06:18:20.454Z","0.0.7":"2011-07-13T06:18:20.454Z","0.0.8":"2011-07-13T06:20:11.963Z","0.0.9":"2011-07-13T06:28:39.676Z","0.0.10":"2011-07-13T06:31:43.011Z","0.0.11":"2013-11-20T05:38:07.251Z","0.0.12":"2013-12-20T23:35:16.453Z"},"readme":"# Guid lets you generate and validate unique identifiers.\n\n[![browser support](https://ci.testling.com/tommydudebreaux/guid.png)](https://ci.testling.com/tommydudebreaux/guid)\n\nIn its simplest form, Guid lets you generate raw GUID formatted strings:\n\n    Guid.raw();\n    // -> '6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d'\n\nLet's generate a new Guid instance.\n\n    var guid = Guid.create();\n\nWe've now got an object which we can work with programmatically. Lets check the\nvalidity of our Guid using the built-in validator:\n\n    Guid.isGuid(guid);\n    // -> true\n    \n    Guid.value;\n    // -> '6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d'\n\nA handy bit of functionality is that its `toString` method returns the string\nvalue, so you can do handy things like this:\n\n    var itemUrl = \"http://whatever.com/items/\" + guid;\n    // -> 'http://whatever.com/items/6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d'\n    \nIf you need a placeholder Guid, or a value to represent a non-GUID, use the\nstatic `EMPTY` property:\n\n    Guid.EMPTY;\n    // -> '00000000-0000-0000-0000-000000000000'\n\nOnce you have a `Guid` object, you can't change its value (thanks ES5!):\n\n    guid.value = \"go suck it, guid!\"\n    guid.value;\n    // -> '6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d'\n\nTo instantiate an Guid object using an existing GUID string, use the constructor:\n\n    var guid = new Guid('6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d');\n\nYou can check the equality of two different Guid objects using the `equals`\ninstance method.\n\nCompare a Guid object to a GUID string:\n\n    guid.equals('6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d');\n    // -> true\n\nCompare two Guid objects:\n    \n    guid.equals(new Guid('6fdf6ffc-ed77-94fa-407e-a7b86ed9e59d'));\n    // -> true\n\n## Installation\n\nYou can use npm to install guid: `npm install guid`\n\n\n## But what if I need a UUID, not a GUID?\n\nThere's also a [Uuid](https://github.com/dandean/uuid-lib) library which has the\n**exact** same functionality, but for UUID's:\n[https://github.com/dandean/uuid-lib](https://github.com/dandean/uuid-lib)\n\n","readmeFilename":"README.md","homepage":"https://github.com/dandean/guid","contributors":[{"name":"Tommy Messbauer"}],"bugs":{"url":"https://github.com/dandean/guid/issues"},"users":{"iksnae":true,"justintormey":true,"etsit":true,"vwal":true,"knoja4":true,"brad-christie":true,"ugcode":true,"gurunate":true,"akinjide":true,"leonardorb":true,"danielye":true,"icognivator":true}}