{"_id":"duty","_rev":"29-1d73523838fea67762b1484faca6eff7","name":"duty","description":"Ridiculously simple Javascript job queue","dist-tags":{"latest":"2.5.1"},"versions":{"1.0.0":{"name":"duty","version":"1.0.0","description":"Ridiculously simple Javascript job queue ","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","gitHead":"1ac919a8ee4cd885bb39e9e1822c7f80ce16d286","_id":"duty@1.0.0","_shasum":"bd01f8ed4e959795d201bff3fe2b5a63e6d947bb","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"bd01f8ed4e959795d201bff3fe2b5a63e6d947bb","tarball":"https://registry.npmjs.org/duty/-/duty-1.0.0.tgz","integrity":"sha512-3cE5UH23hELL470a9pgezNtmMliuGHU0PGVJvykhHLxqL4wUCslPPmUN4J7PwwjrWLNhyu2y5HLig33bwoWzLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfAHeGhOCAIddi2wsHXbn3WQEvUYRm4x9t14NTuoD0pQIgSiL/fhnv8iwA2kySd4C1Zv38TOde6d2d9BFbtWzfN4c="}]}},"2.0.0":{"name":"duty","version":"2.0.0","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"0d76982a78317d253ade57c4c14087fbd06fd28d","_id":"duty@2.0.0","_shasum":"ce88d6c525dfda03b0c32da19b19c252b3113b38","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"ce88d6c525dfda03b0c32da19b19c252b3113b38","tarball":"https://registry.npmjs.org/duty/-/duty-2.0.0.tgz","integrity":"sha512-m/0AjayeAQCwYCPVTbPZ5Sll5QzaMt+mLKUcMxSCwZJhUVFoqSK67hq5yxgtx/xDPNkCkgPVbBvvjlyGDjtUWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ2Y5g4K6aQCTs7RdrqIpMGmS31gKzYZu6rYP4Q0Z6/wIgIaCaaV9oqPXEsGGZEUtug+HmvHh0BRfn6bQG+aMZPmY="}]}},"2.0.4":{"name":"duty","version":"2.0.4","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"75ad2239334d8a3fb894fef4f7b1a691107bda9e","_id":"duty@2.0.4","_shasum":"8601a5443be286c06f82d10069d973a78a14b02c","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"8601a5443be286c06f82d10069d973a78a14b02c","tarball":"https://registry.npmjs.org/duty/-/duty-2.0.4.tgz","integrity":"sha512-bM9LmRy166hl6mxG/0dYXNWTBOcui8TZYbOD6cp27E1GX8mrEoXTgeP68uiNvKhdS5TspwW0qimSUfqN8c7yKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzhEqxdeTkFi20EocASBEFW0oXCKAu364rZ2K4wdmJ2wIhAJQVTeWNR0CWIt7TDo/FMHihCxRT5gJRRg9qpVYGY5ye"}]}},"2.0.5":{"name":"duty","version":"2.0.5","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"93d5d268cc66aeac5185c3f4139835ea7cac023e","_id":"duty@2.0.5","_shasum":"57319870624c4ea5d75c2c2c576372942c007518","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"57319870624c4ea5d75c2c2c576372942c007518","tarball":"https://registry.npmjs.org/duty/-/duty-2.0.5.tgz","integrity":"sha512-EPwhHBl8JVRjMh1+nVG1grvz9pZwJYf5Re8ALDvw78d68bXC+gS8qetes/nv2T0ziw6r9tOxupieSEFfQMzayw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlSDkZc65A9GN4N2+0NOcbtCbJO9LixDqhEQAhqqgFcAIhALpwNTKvOWgTOirzQVb44NSctcHn89xdElK3s8N9c62o"}]}},"2.1.0":{"name":"duty","version":"2.1.0","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"6cc8bbfe13124ba0317a694a677e7837770a8b84","_id":"duty@2.1.0","_shasum":"57bbcd1b8df275348006865e568bfaf65ce39fcc","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"57bbcd1b8df275348006865e568bfaf65ce39fcc","tarball":"https://registry.npmjs.org/duty/-/duty-2.1.0.tgz","integrity":"sha512-oMuzhF/0ZD/RXq3Te9mI0dQti8vTs/T2tNpQdUCBjcUy8gaoAnPyT5pGY8hKERchL2arFWW0dLhbUp3STIJVMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKxEwfN7VsPAB8bQNS3Ci5gT5hJqKuNedC92vzOmT1FwIgFEk4zlwNlK7zeRS5xFP+wxZWlwd1QL8J+Tn0ntt1tmo="}]}},"2.2.3":{"name":"duty","version":"2.2.3","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"317272ff826e10b90de9db4e2293aa36aa89a151","_id":"duty@2.2.3","_shasum":"6e413de6a704648496aa0489367a4584aae6d225","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"6e413de6a704648496aa0489367a4584aae6d225","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.3.tgz","integrity":"sha512-Mc+WZIlAfvhZ4qI//715oyBOqw2nK0YLTUvyIu34AR64LSTLw2TUrOglVPAE+gJ91NG1x2B4vhKb/a5WvXo7DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo1dmpS718roHwhLwfEKQgD5wr0UeIUGIiW0KrT8ThvQIhAKLByS17J/53x2zX6JOiBfEevyh4tBug90tBJ8LVTVQB"}]}},"2.2.4":{"name":"duty","version":"2.2.4","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"5900fd27d121281cd41bbce644ab1405d64dd5fd","_id":"duty@2.2.4","_shasum":"4f78653659d401f6e1c629c32b8e5ebec2e380d7","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"4f78653659d401f6e1c629c32b8e5ebec2e380d7","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.4.tgz","integrity":"sha512-YOMIi2U8/TBNdAFYGEv+r5nqFOTZEE8exYZJAgOGuSh0khE30HGi8fXI4CuYWhoSXzeJkV1mg+WmLt4/viFinA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3nRf5O11ICsUummeiH2tHUnzvROY7nBq1m7/HDL8RdAiEApYhx5m/yY+0VZFwZcxnWKg1Qg95ZKnfR/J4tATKmt2s="}]}},"2.2.5":{"name":"duty","version":"2.2.5","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"ad9675e2f398a0a4287bb819a887792b0c7b46be","_id":"duty@2.2.5","_shasum":"fe8fab2a00a6964ec8c569dca5bffa9783286271","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"fe8fab2a00a6964ec8c569dca5bffa9783286271","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.5.tgz","integrity":"sha512-qO3IWNXQ4CGvTeJ598ph1mpiNxUQfDa9DSmJhTrMdraJk4ez4FFJhoAAGTwd/tacBbWEobQRQ3oVnTx8o1lu4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjHvQDfpkWHnb3jC/eoNh+wHqN14aO8tEkTGoF10zVVAiEAglC/ZOcor9PEqTaa5zllolN93hzI/nSXDG+tZQhwCkM="}]}},"2.2.6":{"name":"duty","version":"2.2.6","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"e40354c41e5c03c0c8d6d961f3b8ac7d4e72fd47","_id":"duty@2.2.6","_shasum":"57041dde59645be811c052da6f11f6d97a363bf0","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"57041dde59645be811c052da6f11f6d97a363bf0","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.6.tgz","integrity":"sha512-mS2AXAlYcW4ekA7xXUSkSFj1Pa/5wVMTP4gkUEoYfnS6ADVwHcpFJUkP4Yre/L05AwjC/L8ZlrLMHZx8GGpvWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCuZ2DuIhzMypUl+DFt0GF439dtGHQ0j/0MkTccMwiLAiEA3xTJiCCnTC+v4Kfn63xrB8zh0ShYk7qe9aOcQ4EFHYw="}]}},"2.2.7":{"name":"duty","version":"2.2.7","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"3cbc79d5ab0a363d47e60847f8c8637132a3b447","_id":"duty@2.2.7","_shasum":"abb7a91e4c5ac64ff026579ed9119bf1d05d6a37","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"abb7a91e4c5ac64ff026579ed9119bf1d05d6a37","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.7.tgz","integrity":"sha512-03BG7LW1qhfbcmLGboAUVxzh8cz240y69S6YV/tS8MrLsG2laOkNlAB7Va+h8W3/ybCKJSFqxYchqbCVMNsrvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBO64L4B7mFXni7BnU4YnNRBVHrcW2xnJAfXPniytxEzAiBrwJBFi5OBlGQYINuO7lmRB6s8Ci+CpRPAOPH3KnzFIA=="}]}},"2.2.8":{"name":"duty","version":"2.2.8","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"8777e2331d125acf6a52f7402fe17ed3810de447","_id":"duty@2.2.8","_shasum":"b063282f76d8adea915f69534ad8bacc628df50f","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"b063282f76d8adea915f69534ad8bacc628df50f","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.8.tgz","integrity":"sha512-+aZjCK3pkNNQKuGiuFUFTAuUWd373OcHYV45VUlzQaaTpSSeBGxHxUP61ZqQqLd983uc3j6DXVxP4+sMt+H7AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7zFKtZg6EpzD9cutBGQuXT7zb5/ACicOf8mpoRFHZJAiApV0Ix4fowY24pZZ2dMKGmgKYtO+th/ywO1gdrAq2ihg=="}]}},"2.2.9":{"name":"duty","version":"2.2.9","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"8864364f67da9ceac3f78148145677e0b4d5a83c","_id":"duty@2.2.9","_shasum":"ccbcfa7e8344ab03fa0cb9437a3af13401610b33","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"ccbcfa7e8344ab03fa0cb9437a3af13401610b33","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.9.tgz","integrity":"sha512-RUaIY7+kybelavG3QkGV6j8lj55eAcPHqQWWq5zNFteS9rfILcoiwn0UvyLxcPsBefP/N0gPsFaX35QnwAga+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHi6UWmXWKBv7FVj4bbg1U40dPjkLhCovrL0WEUKU/Z2AiEAqk4YrKDqmm5uinnsCBRUWotMydruEj4PyKC9cLS5L1c="}]}},"2.2.10":{"name":"duty","version":"2.2.10","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"a051bb82c453cdf378b8e8850a56536bdf4c774b","_id":"duty@2.2.10","_shasum":"de51e2f9c347b9404db3d74ce307587a2021b068","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"de51e2f9c347b9404db3d74ce307587a2021b068","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.10.tgz","integrity":"sha512-hsjVMxTLiBsBEgXNNR8zcM1tf+LsNSwdCp7ChqNtNeN3mwosk70xSe3l5NeQjM8RWCZ4p9uf7Gn5fJOSbYAt9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2ZbKR23bAlELXiBpLllCDm6isnHPN7s0mJQpZtX+ICQIgURTkZyOOT5a8GBEp34qrYOHCOq8UD/TqKb8d1yEGUL4="}]}},"2.2.11":{"name":"duty","version":"2.2.11","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"e829a995842f2632be3ce0736eb3c957ba6ed56e","_id":"duty@2.2.11","_shasum":"cd1af8ae1d2b8b5c0e18d9254881bd10d28d26f3","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"cd1af8ae1d2b8b5c0e18d9254881bd10d28d26f3","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.11.tgz","integrity":"sha512-DoowQV5QkM1L5qArgE1PASNqjSWMpXyWlOSBXch9JTVABu/OM13c8+oLV4NVLqbSn9bdPGzmkFOrb2v4zAkMbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIlkyoPrARa00f7wis8Cz5m4rIwuLEgXbfyByFH6xs/wIhANZ2K4dWYmaoKypHV8Po3fNYYlEmlNTw8L443evWP8QZ"}]}},"2.2.12":{"name":"duty","version":"2.2.12","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"5b614f4f88944cb0826d00fcecbf1ac5dc5e790b","_id":"duty@2.2.12","_shasum":"936584c147fa3ab7a543c9ea5d29ae2737e04a54","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"936584c147fa3ab7a543c9ea5d29ae2737e04a54","tarball":"https://registry.npmjs.org/duty/-/duty-2.2.12.tgz","integrity":"sha512-5Cx7ZG4FNZMQlp31CWUZ+Og+jPNcMA3sygBtYj0Aofc3yA2CMVJq33rQo542as0J+TVfBKHdIxgaJxTj3BrYrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDI6hYw7WfWOmntcs8OGPuzwS12AddD9NoIqyPW5BXLbAiAVTpb0WUlRwHR3F1hdOP8jJK68AkHnVdFkYuwBVZC6Qw=="}]}},"2.3.1":{"name":"duty","version":"2.3.1","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"ec3abdc02c0ab551560a96842c108de50c57dfbc","_id":"duty@2.3.1","_shasum":"d7f8c74eed836b425662b2213a0393a124d00455","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"d7f8c74eed836b425662b2213a0393a124d00455","tarball":"https://registry.npmjs.org/duty/-/duty-2.3.1.tgz","integrity":"sha512-l5miviOdzwZ0HqtnrPv7tm+B9nVc4l444HeV3SM44yLkmubQZeoUhFHLjmMyloiHbFM85815gmAEpx2FXMgy3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4vp7R8fhf4ceUoJUUOE3Wh7CIiG3XKN3Aa76PvDsSOgIhANV2zBYCxXJBC2orUGNWZ9C5OgqHgmnNf+Vb6NAkrTui"}]}},"2.3.2":{"name":"duty","version":"2.3.2","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"2b94733a79042e9aba8afae4a9b5feb2b769164c","_id":"duty@2.3.2","_shasum":"a9a38c08817e92861e53f15234d2de09e97f3d91","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"a9a38c08817e92861e53f15234d2de09e97f3d91","tarball":"https://registry.npmjs.org/duty/-/duty-2.3.2.tgz","integrity":"sha512-tJ/bLEXrdH7qRGokLPbCCRnS+NGzPoZhKnK6J9y3/WquAoc9Au1YTLej3rfgOghQX7LRl3nJROoANEAP5iT24w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaje29hvsyWFQYUB32f1LKaIjHUiRt2TF3AIaEUybUTAiEAhCsOgxqGhn7C7cCQoU5eMuTcJlzNq/qdGGk9lPgkU5U="}]}},"2.3.3":{"name":"duty","version":"2.3.3","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"22d537b84ca0222edb7184252fa8d283da5d6d42","_id":"duty@2.3.3","_shasum":"6f68c373aefa33efe0d28ed2d74e2ba61b05409a","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"6f68c373aefa33efe0d28ed2d74e2ba61b05409a","tarball":"https://registry.npmjs.org/duty/-/duty-2.3.3.tgz","integrity":"sha512-StpmuRMTwAkQH4SkDCLxY9/nVcMDuiFR/7E2ErJkqvH1e9B6Yk+vEb1LFhst6a7knfkiV8FY4wg5AYLIpD/ECw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjuW8ulS/0L0eI7QXqYRNCcUcIx82PrTyqLgcj7s1LRwIgT/5QeJVDTxT0BjzA8zZbdNdDX95n3EYKdx9tnSMjAMM="}]}},"2.3.4":{"name":"duty","version":"2.3.4","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"ffa55cdd82a4dd6730b045b5c9f143fb13169fd4","_id":"duty@2.3.4","_shasum":"3debae243554dea203a293a3d19a86fdc821ca02","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"3debae243554dea203a293a3d19a86fdc821ca02","tarball":"https://registry.npmjs.org/duty/-/duty-2.3.4.tgz","integrity":"sha512-IobchYR+GFpMDhbwGtjtsDo7ocxrrB4JtSq+Doh3d75gjIEUH3L8zs+uF8H3pFBApAzfomDyyHbL/OwlBJDOFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhgSV/Z39NkjtIWc3cB4PDetXGMPFxhduLce39gQSdMAiEAtRFecO4QozZIcARIaM3I4LbsvIIJGmgjUMFx6PjrLNY="}]}},"2.4.0":{"name":"duty","version":"2.4.0","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"af92cee21c12a21a577004e4644e3bd58ab50650","_id":"duty@2.4.0","_shasum":"b8e1f960c6f17e5247e1dfa0f4498e743b9b844b","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"b8e1f960c6f17e5247e1dfa0f4498e743b9b844b","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.0.tgz","integrity":"sha512-cyfPG4ExqowSEXFkMG9JbNCe2QXfiIHNbapffqigK9TTqjVy10YBgeouh7i12+2N7hHnPphbKhf92lNUlBbFig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXOx8HA5zxDhKADGEIYJPc6SUz5nMpWUbA0PlufUcwnwIgYC5ZTOjoT3EVJnfburgLKLehCnBDnfCxE2nGpUXG6fY="}]}},"2.4.1":{"name":"duty","version":"2.4.1","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"64944c201e8d9a6442be124a1d0a9d5821910037","_id":"duty@2.4.1","_shasum":"95610d350b0c8846a039f84791c4b3d322d6274b","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"95610d350b0c8846a039f84791c4b3d322d6274b","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.1.tgz","integrity":"sha512-IDTxGw7xLetvELYkuX8K3ZR9ys18Jz8+zxlMeRzqljilPGWKTcdPZImPp3eU6gYBf381HNG6B4ZjJdK1yclYEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHz7BLuk0WpejxmvJKE+5O4wldgbzt6/yhJXd3aQStQ7AiEAo+4NmSX3CmyH5L09bIkY2dDQD1mIwgiTup3JLbxoMqM="}]}},"2.4.2":{"name":"duty","version":"2.4.2","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"8b380b0318094860bc86aa7bbf0e26b1cba79f89","_id":"duty@2.4.2","_shasum":"97efcd1399628caa604fc5ddf049f69caec64235","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"97efcd1399628caa604fc5ddf049f69caec64235","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.2.tgz","integrity":"sha512-mpMaQRRgCHJ4RtaVZ+oNvcTRmEVMxnAtJG0EJe6JidbG+seLtW9Fn1yZUStaDt3n0M+Uan+YbJKtp59uPLzzZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsgni/ZtR12bJrpNHLTtP4+bUxMvQS/2XF8Xfk7WODvAIgXqeQFeafxGVEo6JZfIc8s6ze911SHOJJrGPO66U59GU="}]}},"2.4.3":{"name":"duty","version":"2.4.3","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"e146dacbaf5554169dbe96f30651473a2292cc9b","_id":"duty@2.4.3","_shasum":"9e678c01739b609fe1e80edab4085ba6acb45d3e","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"9e678c01739b609fe1e80edab4085ba6acb45d3e","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.3.tgz","integrity":"sha512-+2qlGhxZU/rpS5mzWUx3X2QtCcorCkaW4vvqdg8UGUqofBkr+bf7N6Z5ICkvYR2BK2kMtpD2UQ4k6NZ+uNms3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeX8zawiuhWAq0z/JlqKSOqimw7e6l6zTWgCtjWuBUnAiAjNdX3oNJ5k9HhASjHY6fVQPM/2mDFmfd9/qyloKNfZw=="}]}},"2.4.4":{"name":"duty","version":"2.4.4","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"ece75141c92d8cbd06c452f96589f6e684d009ac","_id":"duty@2.4.4","_shasum":"00ce0e3f7df2bccde2b4d3c12d317349c58582a9","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"00ce0e3f7df2bccde2b4d3c12d317349c58582a9","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.4.tgz","integrity":"sha512-bgk0YsAx6O8bcEEb2gzCYQSTRlTollsA+hJttAOaTptf3OBalCS9v9bQaK5be9NPoD/AXTrrf8ncO2MPnIwqbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNPCXDkT5BMirrC5ZsUXhbjVPvAz5ad+Q2oKL+xxtFjgIhAN9bA4AsjKNCW5oXpl0OD7eVtyxEM4haayT7lEqrrhhz"}]}},"2.4.5":{"name":"duty","version":"2.4.5","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1"},"gitHead":"13db27a3a634ee094aceb23cc51f96bbc740e593","_id":"duty@2.4.5","_shasum":"3daf909e1eaf20826082d1d0e25aa1cc493359a4","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"3daf909e1eaf20826082d1d0e25aa1cc493359a4","tarball":"https://registry.npmjs.org/duty/-/duty-2.4.5.tgz","integrity":"sha512-z+eDrgyN8rlGb8K7F37u54axLSL7JPwCj/LtdIIATglG5kVUG7iMhxPaIp4m+WXFraMJqgXAwJTK0KvRFxarUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsAwJEvwjyF3gQsz2YAvCMtNalcJq0v2kl3MHHLBpLOgIhALN7V0uRWw8EmAoWLOO88hDQdjT16i0L39ovo2v5wedu"}]}},"2.5.0":{"name":"duty","version":"2.5.0","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1","serialize-error":"^2.0.0"},"gitHead":"3e33c2020005e47936c96c60edeb408306f6ef4b","_id":"duty@2.5.0","_shasum":"55181cb40648e71fbf2740752c3946c8a5ba6cf0","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"55181cb40648e71fbf2740752c3946c8a5ba6cf0","tarball":"https://registry.npmjs.org/duty/-/duty-2.5.0.tgz","integrity":"sha512-pekMZWXQxmoQwtoO2KSMWOSYzLDwXdxjXza6BXzGZM48riimQkSlmLfbR35KvqY6BnK6R7aAoGGw7EwCO7WPSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMI7e/wB3gNufZQNOrBCUW3tP1AdhCAbmtmFgyuM7EbAiEAtyb1yKyhTqS8M9g2zd0cnQPov2LinfZ4os8iC2Jkzi8="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/duty-2.5.0.tgz_1471251969871_0.5482399761676788"}},"2.5.1":{"name":"duty","version":"2.5.1","description":"Ridiculously simple Javascript job queue","main":"duty.js","scripts":{"test":"node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/avinoamr/duty.git"},"keywords":["job","queue"],"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avinoamr/duty/issues"},"homepage":"https://github.com/avinoamr/duty","devDependencies":{"mocha":"^2.2.5"},"dependencies":{"dbstream-memory":"^0.1.0","extend":"^2.0.1","serialize-error":"^2.0.0"},"gitHead":"449be2ba5b47a3d337c80166a88306f5278b281e","_id":"duty@2.5.1","_shasum":"bc95bb878ceb2ea0940d4d7166b24c23a7f3d98c","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"avinoamr","email":"avinoamr@gmail.com"},"maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"dist":{"shasum":"bc95bb878ceb2ea0940d4d7166b24c23a7f3d98c","tarball":"https://registry.npmjs.org/duty/-/duty-2.5.1.tgz","integrity":"sha512-ljJkdqVDmxnpojEY2dGXCA9EKaIQIZleqHy2Ws226vw++YA6VNLVqJWd5YFs4VNpSOz+rfym/IoULYoYQE2UKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQOriPkhHgpfPLwxF3vV8YNBCg7UtbsDTn0PFK8JcvyAiEAxKZIOm82Y49Mfq2AKKba/VbTlfGN9wPbp7Md68L+3pI="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/duty-2.5.1.tgz_1471864898931_0.528599303914234"}}},"readme":"# duty\nRidiculously simple Javascript job queue, database-agnostic\n\n### Introduction\nSimply managing offline jobs shouldn't involve dedicated databases, standalone servers or complex configuration. It should just flow naturally with the rest of the code. Duty is a dumb-simple job queueu implementation that runs in native Javascript and by default, doesn't require any external database. \n\n> There are other, more elaborate job queue systems for Node js. Kue is a very recommended library, backed by Redis. However, Node lacks a simple job queue system that doesn't require any additional infrastructure to test and play around with, even on local servers. \n\n### Usage\n\n```javascript\nvar duty = require( \"duty\" );\n\n// add a job to the queue\nduty( \"test-job\", { hello: \"world\" }, function ( err, job ) {\n    // job was added\n});\n\n// Meanwhile... elsewhere in the code\nduty.register( \"test-job\", function ( data, done ) {\n    // do your magic\n    done( null, { ok: 1 } );\n});\n```\n\n### Jobs Persistence\n\nDuty uses the `dbstream` standard for providing a portable persistency model. By default, duty ships with the `dbstream-memory` library, which saves all of the jobs data to local memory. This can be easily reconfigured to use other databases:\n\n```javascript\nvar db = require(\"dbstream-mongo\");\nvar conn = db.connect( \"mongodb://127.0.0.1:27017/test\", { collection: \"jobs\" } );\nduty.db( conn ); // use mongodb instead of memory\n```\n\n### Registering Listeners\n\n`duty.register( name, fn, options )`\n\n* **name** is a string for the queue name\n* **fn** is the listener function to handle jobs\n* **options** is an optional object of listener configuration options\n\nThis is a fully-blown example of a job that reads a file and counts the number of lines in it:\n\n```javascript\nduty.register( \"count-lines\", function ( data, done ) {\n    var newlines = 0, total = null, loaded = 0;\n\n    // read the file and count the number of newlines\n    var readable = fs.createReadStream( data.filename )\n        .once( \"error\", done )\n        .on( \"data\", function ( data ) {\n            loaded += data.length;\n            newlines += data\n                .toString()\n                .split( \"\\n\" )\n                .length - 1;\n\n            // optionally, emit progress updates to allow external code to\n            // keep track of the internal job progress  \n            this.emit( \"progress\", loaded, total )\n        }.bind( this ) )\n        .once( \"end\", function () {\n            done( null, { newlines: newlines } );\n        });\n\n    // read the total file size, used for the progress tracking\n    fs.stat( data.filename, function ( err, stats ) {\n        if ( err ) return done( err );\n        total = stats.size;\n    })\n\n    // an external error (or job cancelation) has been triggered\n    // this is important if you have a long running job, and you want to allow\n    // external code to call duty.cancel( job ) to terminate it.\n    this.on( \"error\", function () {\n        readable.destroy();\n    })\n})\n\n// add tasks to this queue\nduty( \"count-lines\", { filename: \"somefile.txt\" } );\n```\n\n##### Options\n\n* **delay** [60000] number of milliseconds to wait after the queue has been emptied before trying to read more jobs from the database\n* **timeout** [Infinity] number of milliseconds to allow for inactivity timeout, which is the time from the start of the job processing, until any update occurs (completion or progress). It's recommended in order to prevent cases where the `done` method doesn't get called, and the jobs remains a zombie forever.\n* **retries** [0] number of times to re-try a job once it has failed\n* **backoff** [0] number of seconds to wait before retrying failed jobs\n* **concurrency** [1] number of parallel processes allowed\n\n","maintainers":[{"name":"avinoamr","email":"avinoamr@gmail.com"}],"time":{"modified":"2022-06-16T02:05:08.274Z","created":"2015-04-13T23:31:41.595Z","1.0.0":"2015-04-13T23:31:41.595Z","2.0.0":"2015-06-20T00:44:49.231Z","2.0.4":"2015-06-20T08:40:34.243Z","2.0.5":"2015-06-20T09:44:41.645Z","2.1.0":"2015-06-20T16:12:17.019Z","2.2.3":"2015-06-20T22:57:18.928Z","2.2.4":"2015-06-20T23:21:33.996Z","2.2.5":"2015-06-22T20:12:02.428Z","2.2.6":"2015-06-22T21:13:01.225Z","2.2.7":"2015-06-22T21:17:37.219Z","2.2.8":"2015-06-23T09:26:54.610Z","2.2.9":"2015-06-23T14:38:47.808Z","2.2.10":"2015-06-23T22:24:47.088Z","2.2.11":"2015-06-24T08:05:31.633Z","2.2.12":"2015-06-24T21:09:04.170Z","2.3.1":"2015-07-07T22:06:32.875Z","2.3.2":"2015-07-16T23:00:43.315Z","2.3.3":"2015-07-16T23:19:04.282Z","2.3.4":"2015-08-04T12:03:57.347Z","2.4.0":"2015-08-14T14:48:43.914Z","2.4.1":"2015-08-14T20:54:24.976Z","2.4.2":"2015-08-16T15:41:38.020Z","2.4.3":"2015-08-19T15:22:47.040Z","2.4.4":"2015-12-21T18:52:31.179Z","2.4.5":"2016-01-18T16:50:13.526Z","2.5.0":"2016-08-15T09:06:11.510Z","2.5.1":"2016-08-22T11:21:40.579Z"},"homepage":"https://github.com/avinoamr/duty","keywords":["job","queue"],"repository":{"type":"git","url":"git+https://github.com/avinoamr/duty.git"},"author":{"name":"Roi Avinoam","email":"avinoamr@gmail.com"},"bugs":{"url":"https://github.com/avinoamr/duty/issues"},"license":"MIT","readmeFilename":"README.md"}