{"_id":"nodegears","_rev":"39-e5d1c7e0ac38b875181e4a881755ddfa","name":"nodegears","description":"NodeJS bindings for Gearman","dist-tags":{"latest":"0.7.1"},"versions":{"0.4.1":{"name":"nodegears","version":"0.4.1","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"lib/gearman.js","repository":{"type":"git","url":"git://github.com/enmand/nodegears.git"},"dependencies":{"buffers":">=0"},"devDependencies":{"nodeunit":">=0"},"_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"_id":"nodegears@0.4.1","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.7.3","_defaultsLoaded":true,"dist":{"shasum":"50dbd858b5159fc83a707d233100a0b3a3060dd2","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.4.1.tgz","integrity":"sha512-tUujE5NRKKAe7tTl6yXsIf6CQDprJAKb3Keu/XAp0MFfeZT49JPf/YnLh3cH/SHfyQhnFMlhDRoaOfMCQiSSrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt65RbhCiMaTWb2H83xLVlREFovKwWP2XQpBgmfDGM/wIgKJFuRNNtV0SFSlj02xFwlnmrmco4VUoSySJWF5PN9Oo="}]},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}],"directories":{}},"0.5.0":{"name":"nodegears","version":"0.5.0","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"git://github.com/enmand/nodegears.git"},"dependencies":{"put":">=0"},"_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"_id":"nodegears@0.5.0","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"2b24220cdac1240b25f6404115ed09f25205b25e","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.5.0.tgz","integrity":"sha512-eOgQ3wfO+1RuTNxBf/4XeYREypFK+H5DLfu8Gij7CyL/4x3MTLlCJE5veJlqAfYfvm1SwlaITYnjD2f3XuPHZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5ppnGsUh/IUEko12hy/uhaSzTZDVBUfCxbd/mO+pzdgIhAKFF09no07JlCPM/tYZiqmM1DIKChJQpKB6sHL3cyKWL"}]},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}],"directories":{}},"0.5.1":{"name":"nodegears","version":"0.5.1","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"git://github.com/enmand/nodegears.git"},"dependencies":{"put":">=0"},"_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"_id":"nodegears@0.5.1","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"6141d77518781068a68135f4b2c83176047f69ad","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.5.1.tgz","integrity":"sha512-CNNzwl13pAvzverRuD+Lm+XGRxioOc8bOdsMHg5W8BxqrxavCcEI/223TPpjcK/17U+Gcj4AhZx7N/lxfCX9Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE43VLpc1gpSMMfcX54n6bH/95us59DpOgcAbD3h3zErAiEA1XovVX3b5NcLywezxjOiMRNA6yIHbXr4mksPf5+xfrY="}]},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}],"directories":{}},"0.5.2":{"name":"nodegears","version":"0.5.2","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"git://github.com/enmand/nodegears.git"},"dependencies":{"put":">=0"},"_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"_id":"nodegears@0.5.2","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"f70b92cf863feaa9d8ea8299e8a5850579e7c3c5","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.5.2.tgz","integrity":"sha512-p9zfI5LVUGAQ+H/2O0hGjGfwckgkpG0g/6hlFRQ/L3rvQA/5V4WewMaXj1mGzyRQQOWWBe4uIMQsdotwWAmdNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR+zJf9h1CjFLHpnvCM4wZfNC9lDUiQ9vAsqNPEi/3ngIhANS7gL9jqvAJXD2O9uY8Y8TaNWWhxT1xWUjTTkuysNZd"}]},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}],"directories":{}},"0.6.0":{"name":"nodegears","version":"0.6.0","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"https://github.com/enmand/nodegears"},"dependencies":{"put":">=0"},"engines":{"node":">=0.10"},"readme":"# NodeGears\n\nA Gearman Worker/Client library for Node.js 0.10\n\n## Modules Required\n\n### Put\n\nThe Put module is required for interacting with binary packets going to and from the Job Server. You can install it using [NPM](http://npmjs.org/) with `npm install put` in a module directory the Gearman module can see.\n\n## Using NodeGears\n\nTo use NodeGears, you must have NodeJS installed, and a working Gearman Job Server somewhere available to you.\n\n## Installing NodeGears\n\nTo install NodeGears from NPM, run\n\n\tnpm install nodegears\n\n### Creating a worker\n\nTo create a worker that will talk to the job server on `localhost`, use\n\n    var Worker = require('nodegears').Worker;\n    _worker = new Worker();\n\n### Registering a job for the Worker\n\nOnce you have a worker that is connected and initialized, use the `submit` method to tell the job server the worker can do a specific task.\n\n    _worker.register('some_function', function(_workload, assign){assign('some response');});\n\nThe first parameter in the register function is the name of the function the worker can do (the client must request work using this name), and the second is the callback that actually preforms the required work. The callback accepts the worker's result and sends it to the job server in tesponse, the returned information will be sent back to the client.\n\nIf your function doesn't use the `assign` callback function, no data will be sent back to the client after the `JOB_ASSIGN` packet is recieved.\n\n### Creating a client\n\nOnce a worker has been registered to do some work for the job server, a client must be used to request work, and send some workload to be worked on. To create a client that will talk to the job server on `localhost`, use\n\n    var Client = require('nodegears').Client;\n    _client = new Client();\n\n### Submitting work to be completed\n\nOnce a working client has been established, it may submit a job to the job server for a worker to preform. To do this, use the `submit` method\n\n    _client.submit('some_function', 'some workload to pass to the job server');\n\n### Connecting to a host other than localhost\n\nTo connect to a paricular host other than `localhost`, you may pass a hostname and port as paramters to the constructor of Worker or Client. For example,\n\n    _worker = new Worker('hostname', 4730);\n    _client = new Client('hostname', 4730);\n","readmeFilename":"README.md","_id":"nodegears@0.6.0","dist":{"shasum":"d109ed6fb5f8d9dabac0bd9bba266c67e8bb923f","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.6.0.tgz","integrity":"sha512-3K9ni68xFns9pLvloVY1APrNAJAiXjwp15I5NTG4xV1NasaReXqV/ZTiOx3otkxX/eI662QRMVieg81KV6hHSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAj13obipr6WS4sE2v4qSdIP1ObOvvfcNwLiD/E5zf9AiARX9Evw6mq3n1L577J6XOuKZmYkEntMBIVvXgmMzZJlQ=="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}]},"0.6.1":{"name":"nodegears","version":"0.6.1","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"https://github.com/enmand/nodegears"},"dependencies":{"put":">=0"},"engines":{"node":">=0.10"},"readme":"# NodeGears\n\nA Gearman Worker/Client library for Node.js 0.10\n\n## Modules Required\n\n### Put\n\nThe Put module is required for interacting with binary packets going to and from the Job Server. You can install it using [NPM](http://npmjs.org/) with `npm install put` in a module directory the Gearman module can see.\n\n## Using NodeGears\n\nTo use NodeGears, you must have NodeJS installed, and a working Gearman Job Server somewhere available to you.\n\n## Installing NodeGears\n\nTo install NodeGears from NPM, run\n\n\tnpm install nodegears\n\n### Creating a worker\n\nTo create a worker that will talk to the job server on `localhost`, use\n\n    var Worker = require('nodegears').Worker;\n    _worker = new Worker();\n\n### Registering a job for the Worker\n\nOnce you have a worker that is connected and initialized, use the `submit` method to tell the job server the worker can do a specific task.\n\n    _worker.register('some_function', function(_workload, assign){assign('some response');});\n\nThe first parameter in the register function is the name of the function the worker can do (the client must request work using this name), and the second is the callback that actually preforms the required work. The callback accepts the worker's result and sends it to the job server in tesponse, the returned information will be sent back to the client.\n\nIf your function doesn't use the `assign` callback function, no data will be sent back to the client after the `JOB_ASSIGN` packet is recieved.\n\n### Creating a client\n\nOnce a worker has been registered to do some work for the job server, a client must be used to request work, and send some workload to be worked on. To create a client that will talk to the job server on `localhost`, use\n\n    var Client = require('nodegears').Client;\n    _client = new Client();\n\n### Submitting work to be completed\n\nOnce a working client has been established, it may submit a job to the job server for a worker to preform. To do this, use the `submit` method\n\n    _client.submit('some_function', 'some workload to pass to the job server');\n\n### Connecting to a host other than localhost\n\nTo connect to a paricular host other than `localhost`, you may pass a hostname and port as paramters to the constructor of Worker or Client. For example,\n\n    _worker = new Worker('hostname', 4730);\n    _client = new Client('hostname', 4730);\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/enmand/nodegears/issues"},"_id":"nodegears@0.6.1","dist":{"shasum":"8675995248ef94e767820c12b8eb40a475db865c","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.6.1.tgz","integrity":"sha512-2tHXh70FCUvmxnok0ZSn359AqYA/hoHkGkSlLoC6y9S6jPwQWvNoUWAlo7ceLCYo7xeW5353SQITsOo0Brz/pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0W6mZT0JObi8OxX3mT57aVKPZ5H6JGn18DA+2Lv4WOgIhAPOg26620oYxD5y/HR7Y7h3io4iVIYy+rO2BJ6WGa4a7"}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}]},"0.7.0":{"name":"nodegears","version":"0.7.0","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages","work server","data management"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"https://github.com/enmand/nodegears"},"engines":{"node":">=0.10"},"readme":"# NodeGears\n\nA Gearman Worker/Client library for Node.js 0.10\n\n## Modules Required\n\n### Put\n\nThe Put module is required for interacting with binary packets going to and from the Job Server. You can install it using [NPM](http://npmjs.org/) with `npm install put` in a module directory the Gearman module can see.\n\n## Using NodeGears\n\nTo use NodeGears, you must have NodeJS installed, and a working Gearman Job Server somewhere available to you.\n\n## Installing NodeGears\n\nTo install NodeGears from NPM, run\n\n\tnpm install nodegears\n\n### Creating a worker\n\nTo create a worker that will talk to the job server on `localhost`, use\n\n    var Worker = require('nodegears').Worker;\n    _worker = new Worker();\n\n### Registering a job for the Worker\n\nOnce you have a worker that is connected and initialized, use the `submit` method to tell the job server the worker can do a specific task.\n\n    _worker.register('some_function', function(_workload, assign){assign('some response');});\n\nThe first parameter in the register function is the name of the function the worker can do (the client must request work using this name), and the second is the callback that actually preforms the required work. The callback accepts the worker's result and sends it to the job server in tesponse, the returned information will be sent back to the client.\n\nIf your function doesn't use the `assign` callback function, no data will be sent back to the client after the `JOB_ASSIGN` packet is recieved.\n\n### Creating a client\n\nOnce a worker has been registered to do some work for the job server, a client must be used to request work, and send some workload to be worked on. To create a client that will talk to the job server on `localhost`, use\n\n    var Client = require('nodegears').Client;\n    _client = new Client();\n\n### Submitting work to be completed\n\nOnce a working client has been established, it may submit a job to the job server for a worker to preform. To do this, use the `submit` method\n\n    _client.submit('some_function', 'some workload to pass to the job server');\n\n### Connecting to a host other than localhost\n\nTo connect to a paricular host other than `localhost`, you may pass a hostname and port as paramters to the constructor of Worker or Client. For example,\n\n    _worker = new Worker('hostname', 4730);\n    _client = new Client('hostname', 4730);\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/enmand/nodegears/issues"},"homepage":"https://github.com/enmand/nodegears","_id":"nodegears@0.7.0","dist":{"shasum":"d210a8d7bae2744792e905fee31a92e0d1213ceb","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.7.0.tgz","integrity":"sha512-dI/02hWit+FDIw0DjZZte63I7RLNhBSP5bTWZtuCHor4r6Gr0kpRwVcoAhMa3D6Z8vdG89uapYtY1aePh/An7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZuuyzMVSkrAaxI5gAErLowfKDXnxxivRYtIiyHdyA8AiADGdU6LhjV1lejs6DBb2aj0TvGbpFxLnVP9bOMiHRw0A=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}]},"0.7.1":{"name":"nodegears","version":"0.7.1","description":"NodeJS bindings for Gearman","keywords":["gearman","distributed","jobs","workers","client","async","gearnode","gears","messages","work server","data management"],"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"main":"nodegears","repository":{"type":"git","url":"https://github.com/enmand/nodegears"},"engines":{"node":">=0.10"},"readme":"# NodeGears\n\nA Gearman Worker/Client library for Node.js 0.10\n\n## Modules Required\n\n### Put\n\nThe Put module is required for interacting with binary packets going to and from the Job Server. You can install it using [NPM](http://npmjs.org/) with `npm install put` in a module directory the Gearman module can see.\n\n## Using NodeGears\n\nTo use NodeGears, you must have NodeJS installed, and a working Gearman Job Server somewhere available to you.\n\n## Installing NodeGears\n\nTo install NodeGears from NPM, run\n\n\tnpm install nodegears\n\n### Creating a worker\n\nTo create a worker that will talk to the job server on `localhost`, use\n\n    var Worker = require('nodegears').Worker;\n    _worker = new Worker();\n\n### Registering a job for the Worker\n\nOnce you have a worker that is connected and initialized, use the `submit` method to tell the job server the worker can do a specific task.\n\n    _worker.register('some_function', function(_workload, assign){assign('some response');});\n\nThe first parameter in the register function is the name of the function the worker can do (the client must request work using this name), and the second is the callback that actually preforms the required work. The callback accepts the worker's result and sends it to the job server in tesponse, the returned information will be sent back to the client.\n\nIf your function doesn't use the `assign` callback function, no data will be sent back to the client after the `JOB_ASSIGN` packet is recieved.\n\n### Creating a client\n\nOnce a worker has been registered to do some work for the job server, a client must be used to request work, and send some workload to be worked on. To create a client that will talk to the job server on `localhost`, use\n\n    var Client = require('nodegears').Client;\n    _client = new Client();\n\n### Submitting work to be completed\n\nOnce a working client has been established, it may submit a job to the job server for a worker to preform. To do this, use the `submit` method\n\n    _client.submit('some_function', 'some workload to pass to the job server');\n\n### Connecting to a host other than localhost\n\nTo connect to a paricular host other than `localhost`, you may pass a hostname and port as paramters to the constructor of Worker or Client. For example,\n\n    _worker = new Worker('hostname', 4730);\n    _client = new Client('hostname', 4730);\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/enmand/nodegears/issues"},"homepage":"https://github.com/enmand/nodegears","_id":"nodegears@0.7.1","dist":{"shasum":"81f2bbf0db5915a2a2c95c8fe0fdc6275e86e0a7","tarball":"https://registry.npmjs.org/nodegears/-/nodegears-0.7.1.tgz","integrity":"sha512-Mc6xlSEwTg3i5+VXfYKoNUFNf8S/l0rbO5MX9vBA9aCnxSd7WV90MQ61T2SBphWhpO3TaJ2zSuT3Q6NM6MpwjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmLM/aEGt7LlSYZla5B0QyWGaziCm2HieNXFu7ieqM1AiBk2MDMb4DtDiXp4Lql7x4CMGMMpcFmLGdQneCKdCdhXA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"enmand","email":"enmand@gmail.com"},"maintainers":[{"name":"enmand","email":"enmand@gmail.com"}]}},"readme":"# GearNode\n\nA Gearman Worker/Client library for NodeJS\n\n## Modules Required\n\n### Put\n\nThe Put module is required for interacting with binary packets going to and from the Job Server. You can install it using [NPM](http://npmjs.org/) with `npm install put` in a module directory the Gearman module can see.\n\n## Using GearNode\n\nTo use GearNode, you must have NodeJS installed, and a working Gearman Job Server somewhere available to you.\n\n### Creating a worker\n\nTo create a worker that will talk to the job server on `localhost`, use\n\n    var Worker = require('worker.js').Worker;\n    _worker = new Worker();\n\n### Registering a job for the Worker\n\nOnce you have a worker that is connected and initialized, use the `submit` method to tell the job server the worker can do a specific task.\n\n    _worker.register('some_function', function(_workload){return 'some response';});\n\nThe first parameter in the register function is the name of the function the worker can do (the client must request work using this name), and the second is the callback that actually preforms the required work. If the callback returns something, and the job server is expecting a response, the `return`ed information will be sent back to the client.\n\n### Creating a client\n\nOnce a worker has been registered to do some work for the job server, a client must be used to request work, and send some workload to be worked on. To create a client that will talk to the job server on `localhost`, use\n\n    var Client = require('client.js').Client;\n    _client = new Client();\n\n### Submitting work to be completed\n\nOnce a working client has been established, it may submit a job to the job server for a worker to preform. To do this, use the `submit` method\n\n    _client.submit('some_function', 'some workload to pass to the job server');\n\n### Connecting to a host other than localhost\n\nTo connect to a paricular host other than `localhost`, you may pass a hostname and port as paramters to the constructor of Worker or Client. For example,\n\n    _worker = new Worker('hostname', 4730);\n    _client = new Client('hostname', 4730);\n","maintainers":[{"name":"enmand","email":"enmand@gmail.com"}],"time":{"modified":"2022-06-22T02:07:58.232Z","created":"2012-02-14T18:01:00.447Z","0.4.1":"2012-02-14T18:01:01.645Z","0.5.0":"2012-02-15T13:10:38.018Z","0.5.1":"2012-02-20T15:58:57.482Z","0.5.2":"2012-03-13T19:15:51.657Z","0.6.0":"2013-03-28T03:42:44.423Z","0.6.1":"2013-07-17T13:41:41.442Z","0.7.0":"2013-11-22T23:48:18.427Z","0.7.1":"2013-12-06T04:23:40.099Z"},"author":{"name":"Daniel Enman","email":"enmand@gmail.com"},"repository":{"type":"git","url":"https://github.com/enmand/nodegears"},"users":{"enmand":true}}