{"_id":"node-mug","_rev":"11-7500452a050f9ebaffcebfad7ddc1f8a","name":"node-mug","description":"Generate all RFC 4122 UUID versions: time-based, MD5, SHA1 or cryptographically random UUIDs. (RFC 4122 Compliant)","dist-tags":{"latest":"0.9.1"},"versions":{"0.0.1":{"name":"node-mug","description":"Use /dev/urandom (or /dev/random) to generate RFC 4122 Version 4 (random) UUIDs.","maintainers":[{"name":"Meadhbh Hamrick","email":"OhMeadhbh@gmail.com","url":"http://meadhbh.org/"}],"licenses":[{"type":"MIT","url":"https://github.com/OhMeadhbh/node-mug/raw/master/LICENSE"}],"repositories":[{"type":"git","url":"https://github.com/OhMeadhbh/node-mug"}],"directories":["test"],"version":"0.0.1","main":"./node-mug.js","keywords":["uuid","random"],"dependencies":{},"devDependencies":{},"_id":"node-mug@0.0.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"dba41f1057b27cacad869c2814e1917f9cf2506b","tarball":"https://registry.npmjs.org/node-mug/-/node-mug-0.0.1.tgz","integrity":"sha512-uOECJwBnmMPV177PmY4NpbdLG2CTRaFMSp0qVyZmEvhI/bH6NLhnX1J7mRGSvjw3GI+nbo9eX2n01CO/Wrm5Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBXIGqM39Tve0ErOOm9r1JIjSx8bqSN//pGne0mf2cDAIhALXvN+JfzjX5LStc8DFUAirbx00yGjkDN1ostUlXb+xo"}]},"scripts":{}},"0.0.2":{"name":"node-mug","description":"Use /dev/urandom (or /dev/random) to generate RFC 4122 Version 4 (random) UUIDs.","maintainers":[{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"}],"licenses":[{"type":"MIT","url":"https://github.com/OhMeadhbh/node-mug/raw/master/LICENSE"}],"repositories":[{"type":"git","url":"https://github.com/OhMeadhbh/node-mug"}],"directories":["test"],"version":"0.0.2","main":"./node-mug.js","keywords":["uuid","random"],"_npmUser":{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"},"_id":"node-mug@0.0.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"be8340489b553f97c0f8aa59c998bf9c1aa1a85c","tarball":"https://registry.npmjs.org/node-mug/-/node-mug-0.0.2.tgz","integrity":"sha512-Xybno/sCdZ6v0NUEd3ApUrI7h9TY65Uq/IZwNegmoqff60ovsrZwgOfd++HaURmhBF9uHzwwZ8o+0vdiIEy5Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6xiFHjQ+EGuoNc6s/sQsek8SGjczdAafP5k7LaOLl0AIhALrjQmUzNU5LaHIMiLR1MUeKdaM3M4eslbBLeH1I5nS+"}]},"readme":"# node-mug (Meadhbh's UUID Generator)\n\nThis package generates RFC 4122 UUIDs, potentially collecting entropy from the\n/dev/random file.\n\nnode-mug now supports \"name based\" version 3 and 5 UUIDs. These uuids are\ngenerated by hashing a supplied \"name\" with MD5 or SHA1.\n\n## Installation\n\nThe easiest way to install this package is to use npm:\n\n<pre>    npm install node-mug</pre>\n\nIf you want to check out the source, use the git command:\n\n<pre>    git clone git://github.com/OhMeadhbh/node-mug.git</pre>\n\n## Usage\n\n### Initialization\n\nAfter importing the node-mug package, create a UUID generator with the \ncreateInstance() function. By default, node-mug will generate version 4\n(randomly generated) UUIDs.\n\n<pre>    var mug = require( 'node-mug' );\n    var UUIDGenerator;\n\n    mug.createInstance( function ( g ) {\n        UUIDGenerator = g;\n    } );</pre>\n\n#### Using an Alternate Entropy Source with Version 4 (Random) UUID Generators\n\nBy default, this package will read entropy from /dev/random. This device will\nblock if there is insufficient entropy in the entropy pool. This is done to\nensure the package is \"secure by default.\"\n\nEnsuring the system has sufficient entropy can be difficult in some situations.\nHowever, many developers find that the output of /dev/urandom (which does not\nblock) is suitably unpredictable.\n\nIf you want to use a file other than /dev/random, pass an options object as\nthe first parameter to the createInstance call:\n\n<pre>    var mug = require('node-mug');\n    var V4Generator;\n\n    mug.createInstance( {source: '/dev/urandom', version: mug.RANDOM}, function ( g ) {\n        V4Generator = g;\n    } );</pre>\n\nNote that the version element of the options object is optional. The\ncreateInstance() function creates a RANDOM uuid generator by default. Still,\nit is good practice to explicitly set this option as defaults may change\nin the future and it better expresses the programmer's intent.\n\n#### Creating Version 3 or 5 (Name Based) UUID Generators\n\nTo create a generator that generates name based uuids, pass in an options\nobject with a version element set to mug.MD5 or mug.SHA1:\n\n<pre>    //This creates a MD5 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V3Generator;\n    \n    function V3createCallback ( g ) {\n        V3Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.MD5}, V3createCallback );</pre>\n    \nAnd here's an example of creating a SHA1 name based UUID generator:\n\n<pre>    //This creates a SHA1 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V5Generator;\n    \n    function V5createCallback ( g ) {\n        V5Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.SHA1}, V5createCallback );</pre>\n\n### Generating Random (Version 4) UUIDs\n\nOnce you have a generator, call the generate() function with a callback to\ngenerate UUIDs. The single parameter to the callback will be a UUID object\nthat includes toString() and toURN():\n\n<pre>    UUIDGenerator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     });</pre>\n\nThe generate() call will usually allocate a new buffer to hold the UUID. If you\nwant to use a pre-allocated buffer, you can pass it as the third parameter\nto the generate() call. UUID buffers must be at least 16 octets.\n\n<pre>    var uuidBuffer = new Buffer( 16 );\n\n    V4Generator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     }, null, uuidBuffer );</pre>\n\nSo, putting it all together, here's a program that generates 10 random UUIDs:\n\n<pre>    var mug = require('node-mug');\n\n    var generatorCallback = function ( uuid ) {\n        console.log( uuid.toString() );\n    };\n\n    var createCallback = function( g ) {\n        for( i = 0; i &lt; 10; i++ ) {\n            g.generate( generatorCallback );\n        }\n    };\n\n    mug.createInstance( createCallback );</pre>\n\n### Generating Name Based (Version 3 or 5) UUIDs\n\nGenerating name based UUIDs is similar to creating random UUIDs. The primary\ndifference is you add a \"name\" parameter to the generate() call. The name\nis hashed and used to generate the UUID.\n\nThis example will output two SHA1 name-based UUIDs. The second call uses a\npre-allocated buffer:\n\n<pre>    var mug = require('node-mug');\n    var uuidBuffer = new Buffer( 16 );\n    \n    function generatorCallback ( uuid ) {\n        console.log( uuid.toString() );\n    }\n    \n    function createCallback ( generator ) {\n        generator.generate( generatorCallback, \"example 1\" );\n        generator.generate( generatorCallback, \"example 2\", uuidBuffer );\n    }\n    \n    mug.createInstance( {version: mug.MD5}, createCallback );</pre>\n\n### The NullUUID Object\n\nA special UUID object representing the null UUID is exported by the node-mug\npackage as NullUUID. The following example demonstrates its use:\n\n<pre>    var mug = require('node-mug');\n\n    console.log( mug.NullUUID.toString() );</pre>\n\n### Cleaning Up\n\nYou *SHOULD* call the close() function on UUID generator objects when you're\ndone with them:\n\n<pre>    V4Generator.close();</pre>\n\n## Testing\n\nThere is an expresso-based test and a non expresso based test. Before\nrunning either, cd into the test directory. For the expresso test, use\nthe command:\n\n<pre>    expresso testMug.js</pre>\n\nFor the non-expresso test, use this command:\n\n<pre>    node test/nonExpressoTest.js</pre>\n"},"0.0.6":{"name":"node-mug","description":"Use /dev/urandom (or /dev/random) to generate RFC 4122 Version 4 (random) UUIDs.","maintainers":[{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"}],"licenses":[{"type":"MIT","url":"https://github.com/OhMeadhbh/node-mug/raw/master/LICENSE"}],"repositories":[{"type":"git","url":"https://github.com/OhMeadhbh/node-mug"}],"directories":["test"],"version":"0.0.6","main":"./node-mug.js","keywords":["uuid","random"],"_npmUser":{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"},"_id":"node-mug@0.0.6","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"3cf578f581763b90d1efa4ab773a7acb5ef9067b","tarball":"https://registry.npmjs.org/node-mug/-/node-mug-0.0.6.tgz","integrity":"sha512-wXP0m1GQXPdLN8HQZlrjj2AHVRfvHQ2OerK1XCvBR6CUmIoTWuOtLALoL3Jm0ClDvWQ6h78i3Qftfsh1BXJ4FQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErbgBwN3dVCP+U2Lb7ARzS9aWntVGCbpQrYaDnTTsNuAiEA9QFnd+pi3kDcc5UIKM6ETlzB0v2ezxCSXVg8BmFgAws="}]},"readme":"# node-mug (Meadhbh's UUID Generator)\n\nThis package generates RFC 4122 UUIDs, potentially collecting entropy from the\n/dev/random file.\n\nnode-mug now supports \"name based\" version 3 and 5 UUIDs. These uuids are\ngenerated by hashing a supplied \"name\" with MD5 or SHA1.\n\n## Installation\n\nThe easiest way to install this package is to use npm:\n\n<pre>    npm install node-mug</pre>\n\nIf you want to check out the source, use the git command:\n\n<pre>    git clone git://github.com/OhMeadhbh/node-mug.git</pre>\n\n## Usage\n\n### Initialization\n\nAfter importing the node-mug package, create a UUID generator with the \ncreateInstance() function. By default, node-mug will generate version 4\n(randomly generated) UUIDs.\n\n<pre>    var mug = require( 'node-mug' );\n    var UUIDGenerator;\n\n    mug.createInstance( function ( g ) {\n        UUIDGenerator = g;\n    } );</pre>\n\n#### Using an Alternate Entropy Source with Version 4 (Random) UUID Generators\n\nBy default, this package will read entropy from /dev/random. This device will\nblock if there is insufficient entropy in the entropy pool. This is done to\nensure the package is \"secure by default.\"\n\nEnsuring the system has sufficient entropy can be difficult in some situations.\nHowever, many developers find that the output of /dev/urandom (which does not\nblock) is suitably unpredictable.\n\nIf you want to use a file other than /dev/random, pass an options object as\nthe first parameter to the createInstance call:\n\n<pre>    var mug = require('node-mug');\n    var V4Generator;\n\n    mug.createInstance( {source: '/dev/urandom', version: mug.RANDOM}, function ( g ) {\n        V4Generator = g;\n    } );</pre>\n\nNote that the version element of the options object is optional. The\ncreateInstance() function creates a RANDOM uuid generator by default. Still,\nit is good practice to explicitly set this option as defaults may change\nin the future and it better expresses the programmer's intent.\n\n#### Creating Version 3 or 5 (Name Based) UUID Generators\n\nTo create a generator that generates name based uuids, pass in an options\nobject with a version element set to mug.MD5 or mug.SHA1:\n\n<pre>    //This creates a MD5 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V3Generator;\n    \n    function V3createCallback ( g ) {\n        V3Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.MD5}, V3createCallback );</pre>\n    \nAnd here's an example of creating a SHA1 name based UUID generator:\n\n<pre>    //This creates a SHA1 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V5Generator;\n    \n    function V5createCallback ( g ) {\n        V5Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.SHA1}, V5createCallback );</pre>\n\n### Generating Random (Version 4) UUIDs\n\nOnce you have a generator, call the generate() function with a callback to\ngenerate UUIDs. The single parameter to the callback will be a UUID object\nthat includes toString() and toURN():\n\n<pre>    UUIDGenerator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     });</pre>\n\nThe generate() call will usually allocate a new buffer to hold the UUID. If you\nwant to use a pre-allocated buffer, you can pass it as the third parameter\nto the generate() call. UUID buffers must be at least 16 octets.\n\n<pre>    var uuidBuffer = new Buffer( 16 );\n\n    V4Generator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     }, null, uuidBuffer );</pre>\n\nSo, putting it all together, here's a program that generates 10 random UUIDs:\n\n<pre>    var mug = require('node-mug');\n\n    var generatorCallback = function ( uuid ) {\n        console.log( uuid.toString() );\n    };\n\n    var createCallback = function( g ) {\n        for( i = 0; i &lt; 10; i++ ) {\n            g.generate( generatorCallback );\n        }\n    };\n\n    mug.createInstance( createCallback );</pre>\n\n### Generating Name Based (Version 3 or 5) UUIDs\n\nGenerating name based UUIDs is similar to creating random UUIDs. The primary\ndifference is you add a \"name\" parameter to the generate() call. The name\nis hashed and used to generate the UUID.\n\nThis example will output two SHA1 name-based UUIDs. The second call uses a\npre-allocated buffer:\n\n<pre>    var mug = require('node-mug');\n    var uuidBuffer = new Buffer( 16 );\n    \n    function generatorCallback ( uuid ) {\n        console.log( uuid.toString() );\n    }\n    \n    function createCallback ( generator ) {\n        generator.generate( generatorCallback, \"example 1\" );\n        generator.generate( generatorCallback, \"example 2\", uuidBuffer );\n    }\n    \n    mug.createInstance( {version: mug.MD5}, createCallback );</pre>\n\n### The NullUUID Object\n\nA special UUID object representing the null UUID is exported by the node-mug\npackage as NullUUID. The following example demonstrates its use:\n\n<pre>    var mug = require('node-mug');\n\n    console.log( mug.NullUUID.toString() );</pre>\n\n### Cleaning Up\n\nYou *SHOULD* call the close() function on UUID generator objects when you're\ndone with them:\n\n<pre>    V4Generator.close();</pre>\n\n## Testing\n\nThere is an expresso-based test and a non expresso based test. Before\nrunning either, cd into the test directory. For the expresso test, use\nthe command:\n\n<pre>    expresso testMug.js</pre>\n\nFor the non-expresso test, use this command:\n\n<pre>    node test/nonExpressoTest.js</pre>\n"},"0.9.1":{"name":"node-mug","description":"Generate all RFC 4122 UUID versions: time-based, MD5, SHA1 or cryptographically random UUIDs. (RFC 4122 Compliant)","maintainers":[{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"}],"licenses":[{"type":"MIT","url":"https://github.com/OhMeadhbh/node-mug/raw/master/LICENSE"}],"repositories":[{"type":"git","url":"https://github.com/OhMeadhbh/node-mug"}],"directories":["test","src"],"version":"0.9.1","main":"./node-mug.js","keywords":["uuid","random","hash","time","rfc4122"],"_npmUser":{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"},"_id":"node-mug@0.9.1","scripts":{"preinstall":"node-waf clean || (exit 0); node-waf configure build"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"1faccaa0bd1e1e7e1d63d206affdc6ed1d0d0ac8","tarball":"https://registry.npmjs.org/node-mug/-/node-mug-0.9.1.tgz","integrity":"sha512-ZLz03qjWii/RZsbpSg7ST4Zq3AI1FtV6y8r9vR2PeXJB+qcAA/3oSxgPGBpYy6UBIhYqv7hZ/8dD6ZdgYfd3oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKm+l9Ddn0EcOh1TzZjgbyNZ+iF9t2PL/2f2vktbhW0gIgar+EhCKagCxOrwud9p8WrO5Ds41JqOkUL0iyyEMHnPI="}]},"readme":"# node-mug (Meadhbh's UUID Generator)\n\n* Generates all RFC 4122 UUID versions: time-base, hash-based, random\n* Able to use /dev/random (or any other entropy source file)\n* Properly increments v1 UUID clock field if successive timestamps are the same\n* Actually uses the hardware address to calculate v1 UUIDs\n* Supports multiple simultaneous UUID generators\n\n## Installation\n\nThe easiest way to install this package is to use npm:\n\n<pre>    npm install node-mug</pre>\n\nIf you want to check out the source, use the git command:\n\n<pre>    git clone git://github.com/OhMeadhbh/node-mug.git</pre>\n\n## Usage\n\n### Initialization\n\nAfter importing the node-mug package, create a UUID generator with the \ncreateInstance() function. By default, node-mug will generate version 4\n(randomly generated) UUIDs.\n\n<pre>    var mug = require( 'node-mug' );\n    var UUIDGenerator;\n\n    mug.createInstance( function ( g ) {\n        UUIDGenerator = g;\n    } );</pre>\n\n### Generating Random (Version 4) UUIDs\n\nOnce you have a generator, call the generate() function with a callback to\ngenerate UUIDs. The single parameter to the callback will be a UUID object\nthat includes toString() and toURN():\n\n<pre>    UUIDGenerator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     });</pre>\n\nThe generate() call will usually allocate a new buffer to hold the UUID. If you\nwant to use a pre-allocated buffer, you can pass it as the third parameter\nto the generate() call. UUID buffers must be at least 16 octets.\n\n<pre>    var uuidBuffer = new Buffer( 16 );\n\n    V4Generator.generate( function ( uuid ) {\n        console.log( uuid.toString() );\n        console.log( uuid.toURN() );\n     }, null, uuidBuffer );</pre>\n\nSo, putting it all together, here's a program that generates 10 random UUIDs:\n\n<pre>    var mug = require('node-mug');\n\n    var generatorCallback = function ( uuid ) {\n        console.log( uuid.toString() );\n    };\n\n    var createCallback = function( g ) {\n        for( i = 0; i &lt; 10; i++ ) {\n            g.generate( generatorCallback );\n        }\n    };\n\n    mug.createInstance( createCallback );</pre>\n\n#### Using an Alternate Entropy Source with Version 4 (Random) UUID Generators\n\nBy default, this package will read entropy from /dev/random. This device will\nblock if there is insufficient entropy in the entropy pool. This is done to\nensure the package is \"secure by default.\"\n\nEnsuring the system has sufficient entropy can be difficult in some situations.\nHowever, many developers find that the output of /dev/urandom (which does not\nblock) is suitably unpredictable.\n\nIf you want to use a file other than /dev/random, pass an options object as\nthe first parameter to the createInstance call:\n\n<pre>    var mug = require('node-mug');\n    var V4Generator;\n\n    mug.createInstance( {source: '/dev/urandom', version: mug.RANDOM}, function ( g ) {\n        V4Generator = g;\n    } );</pre>\n\nNote that the version element of the options object is optional. The\ncreateInstance() function creates a RANDOM uuid generator by default. Still,\nit is good practice to explicitly set this option as defaults may change\nin the future and it better expresses the programmer's intent.\n\n#### Creating Version 3 or 5 (Name Based) UUID Generators\n\nTo create a generator that generates name based uuids, pass in an options\nobject with a version element set to mug.MD5 or mug.SHA1:\n\n<pre>    //This creates a MD5 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V3Generator;\n    \n    function V3createCallback ( g ) {\n        V3Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.MD5}, V3createCallback );</pre>\n    \nAnd here's an example of creating a SHA1 name based UUID generator:\n\n<pre>    //This creates a SHA1 name based uuid generator\n    var mug = require( 'node-mug' );\n    var V5Generator;\n    \n    function V5createCallback ( g ) {\n        V5Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.SHA1}, V5createCallback );</pre>\n\n### Generating Name Based (Version 3 or 5) UUIDs\n\nGenerating name based UUIDs is similar to creating random UUIDs. The primary\ndifference is you add a \"name\" parameter to the generate() call. The name\nis hashed and used to generate the UUID.\n\nThis example will output two SHA1 name-based UUIDs. The second call uses a\npre-allocated buffer:\n\n<pre>    var mug = require('node-mug');\n    var uuidBuffer = new Buffer( 16 );\n    \n    function generatorCallback ( uuid ) {\n        console.log( uuid.toString() );\n    }\n    \n    function createCallback ( generator ) {\n        generator.generate( generatorCallback, \"example 1\" );\n        generator.generate( generatorCallback, \"example 2\", uuidBuffer );\n    }\n    \n    mug.createInstance( {version: mug.MD5}, createCallback );</pre>\n\n#### Creating a Version 1 (Time & MAC Address Based) UUID Generator\n\nTo create a generator that generates time based uuids, pass in an options\nobject with a version element set to mug.TIME:\n\n<pre>    //This creates a time name based uuid generator\n    var mug = require( 'node-mug' );\n    var V1Generator;\n    \n    function V1createCallback ( g ) {\n        V1Generator = g;\n    };\n    \n    mug.createInstance( {version: mug.TIME}, V1createCallback );</pre>\n\n### Generating Time Based (Version 1) UUIDs\n\nGenerating time based UUIDs uses the same pattern as random or name-based\nUUIDs. After creating the generator, call the generator() function passing\nin a callback function; the newly generated UUID will be passed as a parameter\nto the callback.\n\nThis example will output three time-based UUIDs.\n\n<pre>    var mug = require('node-mug');\n    \n    function generatorCallback ( uuid ) {\n        console.log( uuid.toString() );\n    }\n    \n    function createCallback ( generator ) {\n        generator.generate( generatorCallback );\n        generator.generate( generatorCallback );\n        generator.generate( generatorCallback );\n    }\n    \n    mug.createInstance( {version: mug.TIME}, createCallback );</pre>\n\n### The NullUUID Object\n\nA special UUID object representing the null UUID is exported by the node-mug\npackage as NullUUID. The following example demonstrates its use:\n\n<pre>    var mug = require('node-mug');\n\n    console.log( mug.NullUUID.toString() );</pre>\n\n### Cleaning Up\n\nYou *SHOULD* call the close() function on UUID generator objects when you're\ndone with them:\n\n<pre>    V4Generator.close();</pre>\n\n## Testing\n\nThere is an expresso-based test and a non expresso based test. Before\nrunning either, cd into the test directory. For the expresso test, use\nthe command:\n\n<pre>    expresso testMug.js</pre>\n\nFor the non-expresso test, use this command:\n\n<pre>    node test/nonExpressoTest.js</pre>\n"}},"maintainers":[{"name":"ohmeadhbh","email":"OhMeadhbh@gmail.com"}],"time":{"modified":"2022-06-21T17:11:20.346Z","created":"2011-06-05T17:49:54.987Z","0.0.1":"2011-06-05T17:49:55.510Z","0.0.2":"2012-02-06T23:27:09.372Z","0.0.6":"2012-02-07T23:11:18.476Z","0.9.1":"2012-08-05T15:24:55.683Z"}}