{"_id":"warlock","_rev":"43-907957e5439105552f26d1efa093dd8d","name":"warlock","description":"DSTM/Atomic transactions via WebSockets","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.1","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.1","dist":{"shasum":"2781a4990d90742d14bd9d3270b3413a18b76ec1","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.1.tgz","integrity":"sha512-HBnG4hi7TMvziSR6y3tMnqBjvUZYwqM5CvbVB8JxSGzm92azywO9/bc8EWwE3T+sNzFPcSbBvQa5vpyQlRBNzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpCKhyru+KrS3TPEAPqDDMnP6DFMel+dd83tzykATAGAIgG7zFv5U+v+Tu8SKmchOcTMCBtSA30vxeSM7n3wMBuuM="}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.2":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.2","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.2","dist":{"shasum":"118391961492144bb4e5e9c4b2bef9f21f95ca16","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.2.tgz","integrity":"sha512-oQidVmzxrFh62QTWY0Ids87PxvqEm4KuGCwpgb9404hldKp5+u9WjQErfSW3v377MASEPB+jXBdacptYbjXFbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDASVKTZpv/l+BlfnyAFvF/oIlzJmdKqbQunm9w91mQfgIhALOJsFgXHYG8V9nwmO9YFQr330qYomK1CW2qTsWE/Tzc"}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.3":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.3","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.3","dist":{"shasum":"1232c12a5f0898a6733fc088a88972ccc1fe17b5","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.3.tgz","integrity":"sha512-8BM9BV8YetPBI4ooPiCkdwXxwyfNk+YlFhhLH+UU/W4rThGn/3VRxsW4a3NKYWhEntoQyUp1Fq2x4NB/zLgCJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUfE+q31HHeafRlHVGa6Gj+InmjiK6fnSrD9U8jyxtGQIgZGM4AznUdmBEmADH0Ze3lGDssE8CTKtELVZNvRj5PxA="}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.5":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.5","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.5","dist":{"shasum":"ec0bec21e64b865f43cb4a96839a0e03386147db","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.5.tgz","integrity":"sha512-xb5WNxtPFcSHvodvIP0TR98Mbo3qISHGMijmAqw0SNG4jwji0615J5L3xV1YApDbnOL4/ewmiEWeLMXYHzq5Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn+A+yxQjUUJZ9XDlg5bXVaS4974KFa0i3ItNKJt1OUwIhALxpzDLFggoSltsKJ6cj+IdWg3P82s4fG+OQj6IYkrw/"}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.6":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.6","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"0.0.3","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.6","dist":{"shasum":"fefb4225150878c99126c1f66cfab2dc6a365ccb","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.6.tgz","integrity":"sha512-fHyjht2kYWRM+O56UPU+zXZZ0XumzabDDm/zpGI+W54Z7inNl4rP3+q96D4L8EM1+/iBVopJwn5ygLONX7IMeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsdWXMvhyIWwQHrsEstRnKfMQe28m1t4Y+Z7yCp+ef6AiB6uwHvsdq0orcDm4pf15zub6RgNv+Sg9xhcvOvyWLoxA=="}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.7":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.7","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"0.0.5","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.7","dist":{"shasum":"a4934789dcf1ac461974fae56a6d3471a9fa268e","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.7.tgz","integrity":"sha512-aHOrRJlQ2cHITYoJmg/JXrUU3PQEAvQjTRQK289wijOQDtKvP7STIPCHoDUOrdEvfsRermlOQw0GekJY9MJizQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPte8nmz3j0KSc534kXaAiFiZFWstlm/37x3OZa7DREwIgCJszGajuQmxNljlMz6LvUoyJzi8/OLd+YDqXuCJFv0A="}]},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.8":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.8","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"0.0.6","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.8","dist":{"shasum":"62b728ea69d3424ab7194606b5a363904b1d6426","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.8.tgz","integrity":"sha512-G8/r1SB9J14+h4rmO8tiohpXbJt4r+hDJ1kJFZXnTAoi9+APEayF4BydgSz15400GB7APFVBkGlPsBEU19Q9dA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECzYBhi47wdHnCxSZ9+MC5tdPRdKh0+A4Dout5feh75AiEAg5EApQQSSb8taBEEoeKuXAVeJXQAtbDu8TFXZE3KsR4="}]},"_npmVersion":"1.1.49","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.9":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.9","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.9","dist":{"shasum":"6aa8ef3f9ccd9b6a62b2f6de09bd427ce460a5bf","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.9.tgz","integrity":"sha512-aUmQzsO5n50ci6Nn+SM9IFZv6qxRGbZg6u8m1tlFGNOH8m34kW8/9oJHTFJhjX+zb3qUkoTtbsl/jTm6IYhp+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfwN3utklco1Jk9EkDRo51/yNpDSJYpKWYUs3aSj/RNAiEA4ASKOrXVAxXipn4Z1IHfbygR3I9/eciLcPxPZdGxx1M="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.10":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.10","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"0.0.8","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.10","dist":{"shasum":"ebe7505dd564539fdcc3ed1a3422e27f76c989a5","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.10.tgz","integrity":"sha512-z+p8SzarbllHq8qFOOp6lDAOlS8JF69kVYQ4OBed8palph9j/4lBcwEvprrHcSW/yqJsrZXe9pnS3/lLEeMQLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfsV6d6gfdR8P0qGjZhUmjA4YmpVQ1UPA4nDMrP5KRgAiEA48Qjwzmppd2Tk1+b90SI4ejK/f2sIkgwgLSRxMgaV+A="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.0.11":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.0.11","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"0.0.9","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.0.11","dist":{"shasum":"aae340f22471c13c51b97af69263989f7bc50c4f","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.0.11.tgz","integrity":"sha512-9Op0nnO9ZjYO/Au4zZTbRLWeilIy0XnhM1UcJ/10z6xFXYuXtjPqIAzQ/zxbG9twiaBiTpr+ry4W1iryLSjwWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUNFdkXTLGU6qvoX6q6Z9JNRbpXCMotOiGzDarvy0rtAiBV8vGOl36d0dKN40ORjUh/hAodu1HB4w2pwEwL3ZwH6A=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.1.0":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.1.0","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.1.0","dist":{"shasum":"34b056b53c55f2d993daa0b6f2f69a85c016f9a0","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.1.0.tgz","integrity":"sha512-wEyOt4jLUypkTYHo8ZALUfJM90H9nCttxDazf0BsRW7Qg+jVpo+pdkcZy+38FyKSWejlAxJMuVuoWerzWyV4Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeFq49WIl4CsB1gvqvMnCuhn+OXpPizotvXgTgl2CZBAiB1zQyEdTbBRFx15ME+OsDP3gTrTnLugyAGQdYh+cnQJA=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}},"0.1.1":{"name":"warlock","description":"DSTM/Atomic transactions via WebSockets","version":"0.1.1","homepage":"http://github.com/wearefractal/warlock","repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{"coffee-script":"*","protosock":"*","deep-equal":"*","async":"*"},"devDependencies":{"mocha":"*","should":"*","connect":"*","uglify-js":"*"},"scripts":{"test":"mocha --compilers coffee:coffee-script --ignore-leaks --reporter spec"},"engines":{"node":">= 0.6.0"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/warlock/raw/master/LICENSE"}],"_id":"warlock@0.1.1","dist":{"shasum":"93ffc689c3657523d445ac0fbb948edbb4215914","tarball":"https://registry.npmjs.org/warlock/-/warlock-0.1.1.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3A1RCRA9TVsSAnZWagAAcmMP/RpXyOcM/usbS4dBzgJ6\nFRyb9CancVeHU6rZxMfjTomr9Cq2k56w467DcA43HuXQUqmUuYaXXPNvfYpq\nJHcxSCyYjCclbEe6sJ2DphmencFBmWf0O9bHtJzXR0FKRrwzV6WiCsaWFbRU\ns07uEMBMHJIVGIuK1hKQZVC0IsfgPjzVqq6b3QvTUrFI59GzwnnTkYZHUzR8\nuJG0CN77evCMjeKjAWbh5fJvgWYzMPfFQfX+4HEKjEp0cjwilrDIRlHN55pB\nW+AbRmuVolbCdAAjWtbEs5qs+5pWKCrPsal4jbzBpoBK9xdL1WJPv/FvZ6n+\nmKMMy5VPf1U16M7eoLE6ywR4hHBo7KauGDJafHy/pY6kaonBZh5btualI4Bd\n6iVsgrklAuOYukk4a2X2z+Ohft9k9BktUGoHfkj+Cd5CsH63mTlXo1Wmt9cJ\nMs4lz6XhYFekyEpFaAtPi8OlqHNniJA7TzUkqPWqBd1InnsF2qNtE2EjJAcJ\n0U77H+idXPU55aMygXflblLttRgsWMrLl2JTFufibRGGuTwkuo/rwEMqJx40\nQFeOh+MFKb8fbrXVdEKDa9eNS9bAF6wlCNgzCpoK04OtGI2ivtUxH03p46b5\nA1B8zuB0Byh8zE5PWi8G2joGoG50GHePaOu/wl/86+IJcCOYmnsuhQTKgu0C\nfYs9\r\n=YSdE\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-nV1IYvw04OHuGwSWv6T72BxZ08StVhvEtG5WYMA0S7eUnNnZBsXXF4Rib6ukuwekdhyw1paF6Ww8vqIkT8Qi6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+yKfNSoqkRraoyaiXazBxBeKmwuWC6P+FgsH4iZvxJAIgIzAvXEMJbN7+xncxjLM1X/3U7t6Ji7hGLpp36HAevHY="}]},"_npmVersion":"1.1.68","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"fractal","email":"contact@wearefractal.com"}],"directories":{}}},"readme":"![status](https://secure.travis-ci.org/wearefractal/warlock.png?branch=master)\n\n## Information\n\n<table>\n<tr>\n<td>Package</td>\n<td>warlock</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>DSTM/Atomic transactions via WebSockets</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.6</td>\n</tr>\n</table>\n\nWarlock uses ES5 features so be sure to include es5shim on your page.\n\n## Example\n\n### Server\n\n```coffeescript\nWarlock = require \"warlock\"\nserver = http.createServer().listen 8080\nlock = Warlock.createServer server\n\nlock.add\n  planet:\n    name: \"Mars\"\n```\n\n### Client\n\n```coffeescript\nlock = Warlock.createClient()\n\naddMarsSize = lock.atomic ->\n  planetName = @get \"planet.name\"\n  if planetName is \"Mars\"\n    @set \"planet.equator.size\", 3396\n    @done()\n  else\n    #Wait until another transaction happens then try again\n    @retry()\n\naddMarsSize.run (err) ->\n\n  # err will exist if the transaction was aborted\n```\n\n## Server Usage\n\n### Create\n\n```\n-- Options --\nresource - change to allow multiple servers on one port (default: \"default\")\n```\n\n```javascript\nWarlock = require 'warlock'\nlock = Warlock.createServer httpServer, {options}\n```\n\n## Client Usage\n\n### Create\n\n```\n-- Options --\nhost - server location (default: window.location.hostname)\nport - server port (default: window.location.port)\nsecure - use SSL (default: window.location.protocol)\nresource - change to allow multiple servers on one port (default: \"default\")\n```\n\n```javascript\nlock = Warlock.createClient {options}\n```\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2012 Fractal <contact@wearefractal.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"email":"contact@wearefractal.com","name":"fractal"},{"email":"ericbombhax@gmail.com","name":"yocontra"}],"time":{"modified":"2022-06-28T21:49:17.085Z","created":"2012-08-07T16:25:16.499Z","0.0.1":"2012-08-07T16:25:18.146Z","0.0.2":"2012-08-14T09:26:41.448Z","0.0.3":"2012-08-14T09:44:31.115Z","0.0.5":"2012-08-18T00:44:45.474Z","0.0.6":"2012-08-18T12:27:06.534Z","0.0.7":"2012-08-21T09:32:52.161Z","0.0.8":"2012-08-30T15:08:05.284Z","0.0.9":"2012-09-13T23:31:22.381Z","0.0.10":"2012-10-16T23:17:17.474Z","0.0.11":"2012-10-29T06:34:05.907Z","0.1.0":"2012-11-26T03:52:00.245Z","0.1.1":"2012-12-05T20:23:28.076Z"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"repository":{"type":"git","url":"git://github.com/wearefractal/warlock.git"},"homepage":"http://github.com/wearefractal/warlock","readmeFilename":"README.md"}