{"_id":"multiprocessing","_rev":"31-d909e85b5fd2100bd82eccb7a0e3ba86","name":"multiprocessing","description":"Dead simple parallel processing for node","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"multiprocessing","version":"0.0.1","description":"Python multiprocessing Pool clone","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"abac1d5796d68f0b8418cfd5a887823b1518d0c4","_id":"multiprocessing@0.0.1","_shasum":"17feadb19fba15b0477326491fd41f621c72adca","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"17feadb19fba15b0477326491fd41f621c72adca","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.1.tgz","integrity":"sha512-6FV6lCSu1TfaCJZ31JwiL+8/fbTVPeJBYcdV/aw4/k/Zve6mJLkpYUobkC+VyX0XCYaauEifo6kaA7oXVF15WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSL9gGX0HwWcFsUmS/h4kfnCaMGsIe8I1GE8XPY/FDCAiEA2OiKPWL9zM7Uq6Kt5c9YUBjOzsrqBuCN3eXKHllFE/s="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.0.2":{"name":"multiprocessing","version":"0.0.2","description":"Dead simple parallel processing for node","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"fcc70c6649ce5885399985ed7de7932b749a66dc","_id":"multiprocessing@0.0.2","_shasum":"12b107e4b7fb0ac235e08d829d421ff177dc6d46","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"12b107e4b7fb0ac235e08d829d421ff177dc6d46","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.2.tgz","integrity":"sha512-fBf+dvPu7NSDHOQR7NYLgwqodL+pt8WonQfV+t1LFtl2jQisPx6P/y8LTmH/aNaKndDvmaJJKyAC7AkYCx++xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXVc9LzN4zUZw2xvosF6OfAkazd53GUUlTrq8qQC4lNgIhAN5uiC28FzAXhzJxRCpK5FQIG78WEhVxb8U/NjG8YMk5"}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.0.3":{"name":"multiprocessing","version":"0.0.3","description":"Dead simple parallel processing for node","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"59e330030a948bf194f921ade94fae2bce46a5c7","_id":"multiprocessing@0.0.3","_shasum":"fffff59c7f204700c7e5b985e3b335a059fe70fa","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"fffff59c7f204700c7e5b985e3b335a059fe70fa","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.3.tgz","integrity":"sha512-OvAE6ttRzauSXYn5kdlRIxVL+clagPFp2gmXOSqPak2FhkQXyPyR0Zty+53QM1NNg7Cb7UtybZ9O9eIFgp9DUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDy0zrjha8dlkakuu4MTbuWbzRHy6hP9TgyJ6tiRFOSaAiAtvf7cZBHdx4xWMFwrmirfVkywRXxWl9ZrWy5+pzGwIQ=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.0.4":{"name":"multiprocessing","version":"0.0.4","description":"Dead simple parallel processing for node","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"85bc82a648dc5cd5db60566fe13124f2d3e4e9a5","_id":"multiprocessing@0.0.4","_shasum":"676d9a14c31ac470e46eda66033bb9a583dc2986","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"676d9a14c31ac470e46eda66033bb9a583dc2986","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.4.tgz","integrity":"sha512-m/AAZmxKm4LPhwoFd18LFD9ZYZvpNzBN1ntFpe8Q53pnAqMi+WObOpu//Z17ycb+ttufMfcvJU790CPTI4WB/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNMCLL9mMpaFDttlQlYsU2xTS3Jj4Bn21DjmNrr6CXcAiAuLfnsrRAYlDQMpWJJfSGMxctJuDqyjkimF30mmKuKtg=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.0.5":{"name":"multiprocessing","version":"0.0.5","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"https://github.com/ryanpon/node-multiprocessing"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"3a9391d3932290ffc2715f3ab0957cf48fbbc1ba","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing","_id":"multiprocessing@0.0.5","_shasum":"6f5afdf365964907b88cca12e5d8d3a87c4de609","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"6f5afdf365964907b88cca12e5d8d3a87c4de609","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.5.tgz","integrity":"sha512-AOcw1tjgvsx2O5WIhFpKzdCPboh6zjURbqjGLQYiuJTWIyoRpx1Hrl6mrRywtvYgeWsspKcYG/xcX11FvFjJfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdyEB/tbm3UKrt3pFn6y12Q56Yaoi70jqKnK1q9L/jDQIhAJ8nDJkpYw0nADcBcByemWYJS+wwWdaKl271tuUxLGCY"}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.0.6":{"name":"multiprocessing","version":"0.0.6","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"https://github.com/ryanpon/node-multiprocessing"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"fa60f44f6c717846c67ee8d58726c2061fe61680","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing","_id":"multiprocessing@0.0.6","_shasum":"172a560544077d650abfd2cc2fbda2ea2f69a8c3","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"172a560544077d650abfd2cc2fbda2ea2f69a8c3","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.0.6.tgz","integrity":"sha512-OZ51ZKHve9QBpv/m2sUxlq0OR4X3bmRsaSK3nWMhgLZ090oSN4nfJrtcJ3UAlQNCLw683k31mlns+m+xjSXuNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHd3LqIJ/CGrEep+p79Q3d/9D9BDqEkE/NsZQdd8QZcKAiA38QzwU5Rwn9/D7yQ5gUdSM/seK7kjbRvhcYDpV9x7XA=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.1.0":{"name":"multiprocessing","version":"0.1.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"a763e49f7db990041d660b4c97617d695a213885","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.1.0","_shasum":"b052b89b18822d888155e75bb828173b2545cc1f","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"b052b89b18822d888155e75bb828173b2545cc1f","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.1.0.tgz","integrity":"sha512-mYxKkDKEbMUHHAY+1jNslSu3il3B9ykUU0X/4LEbbqp9aIDVVJNggR3hHU1h71iX+LNfZgUxf6SnqdlbWMB37Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGX9Q4vvLrvEt6xtnYbVcOpbcU8Qb3w80D47XZJAku83AiEAlGxWqu2AeDo7Untr5TiypNAWb4YT+tq6j4w9pY5cFcw="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.1.1":{"name":"multiprocessing","version":"0.1.1","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"c129903eec688ce06aefd5899071ee0bf9e88501","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.1.1","_shasum":"30c29fe37ffb71f4ff5c066b6efb7e5a1806e09c","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"30c29fe37ffb71f4ff5c066b6efb7e5a1806e09c","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.1.1.tgz","integrity":"sha512-4LE4hdKhTogv1d8Yh2jBQg3/gqw3ZiWhqEg2Hdm815H0bcpmssZme/pLkYPO+yN+KHcMdSenTApoyyno/vRMXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf4Fx8pFoHATVyBaEMTQJH22jcxdt+VlffZBFCKn1uVQIgcKRulcrdoSiyBxmhn2ioPL3DlRrolhg168BeSVQKOys="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.2.0":{"name":"multiprocessing","version":"0.2.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"1f8fa93fcd7351adbe445d071733a94beb78eb33","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.2.0","_shasum":"d3f78416316bc55c416be3c2a751027cc3ca2455","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"d3f78416316bc55c416be3c2a751027cc3ca2455","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.2.0.tgz","integrity":"sha512-E414swdYa1RzZp24bTWPt9cPkgTPOewpmt6ZUrhjJScMXa/us5BI0qq3WtkoRgk6NHhkZxgz6haYA6CkHb+roA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD79v0IQIHPyZlmZ5wWthzTu2OfpP0k3Eum6Z1j8Bs8ngIhAKs2ADH5sLHAYIEC9EiTk1WrDd+q9Uk0Ei9/3bxc63oX"}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.2.1":{"name":"multiprocessing","version":"0.2.1","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"https://github.com/ryanpon/node-multiprocessing"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"a33c7eda2d7f48a48bee8b9fe33a6d42e0397ab3","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing","_id":"multiprocessing@0.2.1","_shasum":"344c7c72cfb22d38a2892aa92b7c3a676c4e8de1","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.25","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"344c7c72cfb22d38a2892aa92b7c3a676c4e8de1","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.2.1.tgz","integrity":"sha512-IGM4trwMCrUQIcccZKgPmQ76+XmWSXHsDzW393l+N+UiQJ65M31g6fjt7ZMhdY/f3XgBnHi29UgnDR3gb2xiKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqucRtnJ0IqfMlIO3NAOoc5XgA1tnM5IhyGw5MCAus9QIgbBG48QiYLkgFwP3Ln8kjQAIiwTR9T4fPN5ZX9hhLyqE="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.2.2":{"name":"multiprocessing","version":"0.2.2","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"https://github.com/ryanpon/node-multiprocessing"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"5ea032499e1a328c9c4cdeb85d3de9bf4dc73a88","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing","_id":"multiprocessing@0.2.2","_shasum":"f3ec3a0b66de12a1954c84b513d72e5c1eb75f2c","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.25","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"f3ec3a0b66de12a1954c84b513d72e5c1eb75f2c","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.2.2.tgz","integrity":"sha512-GgSHJBcJfm53/9rQWGUgdcXgyOlMixOiQxZkCu0lDiQxxc1EnhJbD5IbfWs7wF7Bq1/iJKqirsxGXJa+/ftySA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDt95iGOorKZ72PZ4plnjrLl9eKEfMQNQ3985zo/8gyQAiBcBizbZsyLsN7W2IVKOX0d4JkRRNPpdhOSJiv7NBRYAA=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.2.3":{"name":"multiprocessing","version":"0.2.3","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"3a8f483c50f76395183aed7a542566329b792e0f","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.2.3","_shasum":"84d634c3906fdafc22631790b546b29bd1b46ca2","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.10.28","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"84d634c3906fdafc22631790b546b29bd1b46ca2","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.2.3.tgz","integrity":"sha512-Bc0uvSan5DaOFD3r8bn+YF+Ecp0j88EGrAPnmC7ZgdfGbNmz5di79ppW66TgnnxxvWEtyiZUgsj4JZw1p8fzHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCWwhMaliR7bP/bmIjoh2IGRZEXTNuX3hKkpH9y8wtkwIhAIdeGn8T8rYKNPwAAYO/jnAX+EJL2vMlSsAXaWKcyjih"}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{}},"0.3.0":{"name":"multiprocessing","version":"0.3.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"f86780e97e1328a67bf38431f491e2041643e86d","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.3.0","_shasum":"c25957d5eef2d8739806e23f2aad031e9a317b0a","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"c25957d5eef2d8739806e23f2aad031e9a317b0a","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.3.0.tgz","integrity":"sha512-HNTDI6CreV4KxlAAKHZNYxKwxqhYyjJFH3eFq0MByfWUWsLndsin7pkNuIyo9zZF+Qg7Bgb07QQ4AxDspc/7eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSfkrp9vMsU+LvrfbuxoI7/xgGXfysAyI64vs/PA0bOAIgbmU461cqbH66+qK5Cw2FOy11T0rnDk5gV21gLWZZQh4="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/multiprocessing-0.3.0.tgz_1457053267599_0.8976789913140237"},"directories":{}},"0.4.1":{"name":"multiprocessing","version":"0.4.1","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"6722f17e3d2ff77145ab942f57668ac3a172aba3","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.4.1","_shasum":"a924c8e8077d3e9980d4776f19c66bed714ee2c0","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"a924c8e8077d3e9980d4776f19c66bed714ee2c0","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.4.1.tgz","integrity":"sha512-YS93rdjhU7uFtH8fJMot889zfIA2Rkzm/C00LfBYZETIsIjDeukGi7ErZj6W5DzxXGqHNAL6I6xhvT4Qo9fgxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKrUzE1BcHi+uvc8eGXVSO7qr58dOfMO1+0G57DCeDpAiBC3uyFNGIPRg/PRnBeJ9oW2IaI98b6m1jUae2bc7Df1Q=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/multiprocessing-0.4.1.tgz_1457164109893_0.49694052687846124"},"directories":{}},"0.5.0":{"name":"multiprocessing","version":"0.5.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"88a79726eb41776da437d4bc561e58f218fe198c","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.5.0","_shasum":"0e56cf219d3c5547d703fbdfb30f426b9d281176","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"0e56cf219d3c5547d703fbdfb30f426b9d281176","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.5.0.tgz","integrity":"sha512-LYb4VaYAwhE1tn6CysEQ35aWuVt+zQVHyTEUslZDMkyknolPytkqKFBnGeK/IFYD4g8I7D2vjVaRgcC/oAnCUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsX2wOuKnJAQ+NqBpUaWmUovtFjRz8LNb4dnfqZcMh2AiEAsJmX0DPlY4S1C1uJwqkMTY9VSTJ/Eh5Bn513+e2DLx8="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multiprocessing-0.5.0.tgz_1457389731379_0.7108163635712117"},"directories":{}},"0.5.1":{"name":"multiprocessing","version":"0.5.1","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^2.10.1"},"devDependencies":{"lodash":"^3.10.1","mocha":"^2.3.3","chai":"^3.3.0","chai-as-promised":"^5.1.0"},"gitHead":"c16eb893509e1ce1aa9bffb6dfb699aaa5662fbd","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@0.5.1","_shasum":"d3bf360472e1c9989262b4c7f377f0f1278779ca","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"d3bf360472e1c9989262b4c7f377f0f1278779ca","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-0.5.1.tgz","integrity":"sha512-vPXU+KCvsj+nGu9YttMYZLPHLdm9kIT285PUntaok1iszweqQZALXChQVUboJ6RLNPvUSWZfdJQ8l2Uft5guAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiRvJfaC2WMO0WFPanZQsVKIU1s+3v7+/ADtzGINAGdAIgdbF0Tu/eezysn9lKTDMlVtq5FCYsyr5YeOV49/qW0sc="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multiprocessing-0.5.1.tgz_1457389778358_0.841469383565709"},"directories":{}},"1.0.0":{"name":"multiprocessing","version":"1.0.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"engines":{"node":">=4.0.0"},"main":"index.js","scripts":{"test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js","lint":"eslint ."},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^3.4.6"},"devDependencies":{"babel-eslint":"^6.0.4","chai":"^3.3.0","chai-as-promised":"^5.1.0","eslint":"^2.10.2","eslint-plugin-babel":"^3.2.0","lodash":"^3.10.1","mocha":"^2.3.3"},"gitHead":"2b39b54cf27a692b8294f314351990ffbe8644f4","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@1.0.0","_shasum":"6beedde04204a39387492ebced5fc5f0ed272381","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"6beedde04204a39387492ebced5fc5f0ed272381","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-1.0.0.tgz","integrity":"sha512-QBZIuRI8I5wjCE8BFrSVcEPAXLofOmDa+6dbVpC4srTMSZvzJkUAk6jLlh1SNDJF+t5gd/GcsP6owgARXKM6Dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrrknddZ6oEmZyEZTl6NwVPd6VqOtiacGeF0Cwt4Y4fQIgXXDRufuBfp5IHry1szGwEKx/0FVwgEfyK0DonILqvXc="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multiprocessing-1.0.0.tgz_1476817315697_0.9107208084315062"},"directories":{}},"1.1.0":{"name":"multiprocessing","version":"1.1.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"preversion":"npm run test","pretest":"npm run build","test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js","build":"babel lib -d build","lint":"eslint ."},"babel":{"presets":["latest"]},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^3.4.7"},"devDependencies":{"babel-cli":"^6.22.2","babel-eslint":"^7.1.1","babel-preset-latest":"^6.22.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","eslint":"^3.15.0","eslint-plugin-babel":"^4.0.1","lodash":"^4.17.4","mocha":"^3.2.0"},"gitHead":"cfe8a0d839613bbcdcd9994ed45e37efdca2207c","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@1.1.0","_shasum":"45a67b37989878079130cda1d82eb2eaaea85bc4","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.1","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"45a67b37989878079130cda1d82eb2eaaea85bc4","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-1.1.0.tgz","integrity":"sha512-TC9IzVMUSQsDC9x43g765gFKqKmUsLPIqb1xkHg7mG9lW4eAQiI9o2UTR9tvAlR3tcm5sjywTFzsNX56vgz29Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2e4VjL4e+gpAK2gu+snj461/VhUdIqdL0r2SQSaURTwIgHcFbmDEGC5tacS2WpbvnOaB6usvIsxwmIz9hk9VLtPA="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/multiprocessing-1.1.0.tgz_1486577463314_0.806842046091333"},"directories":{}},"1.1.1":{"name":"multiprocessing","version":"1.1.1","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"preversion":"npm run test","pretest":"npm run build","test":"./node_modules/mocha/bin/mocha test/**/*.spec.js","bench":"node ./test/bench.js","build":"babel lib -d build","lint":"eslint ."},"babel":{"presets":["latest"]},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^3.4.7"},"devDependencies":{"babel-cli":"^6.22.2","babel-eslint":"^7.1.1","babel-preset-latest":"^6.22.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","eslint":"^3.15.0","eslint-plugin-babel":"^4.0.1","lodash":"^4.17.4","mocha":"^3.2.0"},"gitHead":"f78e06862321e74ac1c08ca6bd98fd279f91bdc2","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@1.1.1","_shasum":"36f60ad73cd970754a82bfd7672461e397a59674","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.1","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"shasum":"36f60ad73cd970754a82bfd7672461e397a59674","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-1.1.1.tgz","integrity":"sha512-YQTYtUkqGYEac+xYXyeLPxkgYWYhSrsbC5G3+qOnwo2FD4RbrP73d0x7BqvWtbbVlfZCn081MZg9klqO8yFNRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZLwP0rtewjDonapdYIyaIuM6vu84Dx8pHlywQTnIyCAiB54q3X/tDoRGWWGB5K6kFoqov9Dl/A1SpZP8KgU/148g=="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multiprocessing-1.1.1.tgz_1486577533846_0.08134697540663183"},"directories":{}},"1.2.0":{"name":"multiprocessing","version":"1.2.0","description":"Dead simple parallel processing for node","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"main":"index.js","scripts":{"preversion":"npm run test","pretest":"npm run build","test":"./node_modules/mocha/bin/mocha test/**/*.spec.js --exit","bench":"node ./test/bench.js","build":"babel lib -d build","lint":"eslint ."},"babel":{"presets":["latest"]},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","dependencies":{"bluebird":"^3.4.7"},"devDependencies":{"babel-cli":"^6.22.2","babel-eslint":"^7.1.1","babel-preset-latest":"^6.22.0","chai":"^3.5.0","chai-as-promised":"^6.0.0","eslint":"^3.15.0","eslint-plugin-babel":"^4.0.1","lodash":"^4.17.4","mocha":"^5.2.0"},"gitHead":"47b7d64803af3408eeb1b9ca8f7230d95f70251f","bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"homepage":"https://github.com/ryanpon/node-multiprocessing#readme","_id":"multiprocessing@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"11.4.0","_npmUser":{"name":"ryanpon","email":"me@ryanpon.com"},"dist":{"integrity":"sha512-qQzr+dKWw4o0NP4+990QDUvI+8Gr2fXWLT5AkJ9X9Ng2sgnxiY8Tqtu3V8gwD9z9g3IkHLH9EKtCns89aH7EJg==","shasum":"1bb2e0cd6b4e407e57aa594b9ea57ec9382628f1","tarball":"https://registry.npmjs.org/multiprocessing/-/multiprocessing-1.2.0.tgz","fileCount":23,"unpackedSize":57489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGBEaCRA9TVsSAnZWagAAHucP/jCnqOKGiwKaZQb9uTCZ\nUMhDweDWZ+fU2HFxXhXgE4iK+qoDE83WSDNW31x5GnipMRji7aoxX1kDKh1f\nea2ePxRT71Y2Jmz8bRWzaWeGjv7d/FC2ghMy3Lgu9cphiVxzVFePX+2cSABr\nnWrYjT4EyT0FdbD9aJAD3c0JnCKNA59UsoG0j0WyNn1xB/8M1we1HqR2iGWS\nJj6H4DyrW98T7EsUS3flFe3HY5xFFKQ85rqztrgCwBiQycOkn77HFF3OPvs2\nZQYglabl6qa+R13KZSB7L6N50iE+OlFWnpI6CyFlQHoo2YHF/0Nqc7d5DVzC\nxcQi4QM72AZmMbPclgapPlNvDJksHPyYFcK8A0nv2oQwg+AAE+m4i8YMwkbi\nPm5MKHPQSClD5iywEv766COhhyYnhfVpw2qtVJ+YmLvcTTRI8mX2j79ugagK\nQQueYGvpYpKlt8snUkBvzlE9ThCg+E88sfMLXOxCUf8NrJQy/HjP1ADBGTKv\nDlDHAC6CjOB8ZJveK8FjlMjIWHjbnW37z2HSJA+gMTE55HjKdXcQ/4366TkL\nTpXGNZeFrGX6FJdkHWka+4LbxXG0XinXriYnxkcYbA1Ut7OhWVmNX1Py5HJo\nRtPWnd42ZbzZT5Q4UX/48h7YRdTugA705Jb0agK1rlMRrKVmK20CUqZr6z42\nZ9/p\r\n=8eKT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA8dmFrnpIExliZZV7sR+o8jypLN8U9jaFYKxf6unWoAIgUH2nNIv1uipoIDDc5IIQZqXbxfZaNvcXgxqEj8S/z/E="}]},"maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multiprocessing_1.2.0_1545081113665_0.6927046392620473"},"_hasShrinkwrap":false}},"readme":"# node-multiprocessing\nDead simple parallel processing for node\n\n## Version 1.0 upgrade notes\n- Upgrades Bluebird from ^2 to ^3 ([see details here](http://bluebirdjs.com/docs/new-in-bluebird-3.html))\n\n## Example\n\n```javascript\nconst Pool = require('multiprocessing').Pool;\n\nfunction square(x) {\n  return x * x;\n}\n\nconst pool = new Pool(4);  // spawns 4 child processes to complete your jobs\n\npool.map([1, 2, 3], square).then(result => console.log(result));\n\n// [1, 4, 9]\n```\n\n## Promise + Module worker example\n```javascript\n// ./worker.js\nconst P = require('bluebird');\n\nmodule.exports = function squareAsync(x) {\n  return P.resolve().then(() => x * x);\n};\n```\n\n```javascript\n// ./main.js\nconst Pool = require('multiprocessing').Pool;\n(new Pool(4)).map([1, 2, 3], __dirname + '/worker')\n  .then(function (res) {\n    // [1, 4, 9]\n  });\n```\n\n## Installation\n\nVia npm:\n\n    npm install multiprocessing\n\n## Writing a mapper function\n\nFunctions passed to the mapper can't reference any variables declared outside of their block scope. This is because they must be stringified in order to be passed to the child processes.\n\n```javascript\nfunction good(x) {\n  return x * x;  // I don't reference any outside variables\n}\n\nconst two = 2;\nfunction bad(x) {\n  return x * two;  // \"two\" wont be defined after being passed to the child proc\n}\n```\n\n## API Reference\n\n### new Pool([int numWorkers]) -> Pool\n\nCreate a new Pool with specified number of worker child processes.\n\nDefault number of workers will be the numbers of logical CPUs on the machine.\n\n##### .map(Array arr, Function|String fnOrModulePath[, int|Object chunksizeOrOptions]) -> Promise\n\nThe second argument should either be the mapper function or the absolute path of a module that exports the mapper function.\n\nAs the function must be stringified before being passed to the child process, I recommend instead using the module path for functions of non-trivial size. It will be much easier than trying to keep track of what your mapper function references.\n\n###### Option: chunksize\nChunksize determines the number of array elements to be passed to the work process at once. By default, the chunksize will default to the array length divided by the number of available workers. Setting this to 1 is fine for tasks that are expected to be very large, but smaller tasks will run much faster with a larger chunksize.\n\n###### Option: onResult\nTakes a function that is called with each result as it comes in. Useful for streaming.\n\nNOTE: The onResult is called in whatever order results come back in. This may not be the same order as the input array.\n\n```javascript\nconst Pool = require('multiprocessing').Pool;\n\nfunction square(x) {\n  return x * x;\n}\n\nconst pool = new Pool(4);\n\nresult = []\npool.map([1, 2, 3], square, {onResult: val => { result.push(val) }})\n  .then(() => console.log(result));\n// prints \"[4, 9, 1]\"\n// OR in some other order, depending on how we receive the results!\n```\n\n###### Option: timeout [experimental]\nApproximate maximum processing time to allow for a single item in the array. If more than the alloted time passes, the mapper promise will be rejected with an error saying that the task timed out.\n\nRecommended that you use this only for longer tasks, or as a way to prevent infinite loops. Timeouts below 200ms or so can be unreliable.\n\n```javascript\nconst Pool = require('multiprocessing').Pool;\n\nfunction anInfiniteLoop() {\n  while (true) {}\n}\n\nconst pool = new Pool(4);\n\npool.map([1, 2, 3, 4, 5], anInfiniteLoop, {timeout: 1000})\n  .catch(err => console.log(err));\n\n// \"Task timed out!\"\n```\n\n##### .apply(any arg, Function|String fnOrModulePath[, Object options]) -> Promise\n\nA convenience method for calling map with a single argument. Useful for when you want to use the pool as a queue that processes jobs in a first-come, first-served manner.\n\nUses same options as map, but chunksize will be ignored.\n\n##### .close()\n\nTerminates worker processes after waiting for outstanding jobs. Calling methods of the pool after this will result in an error.\n\n##### .terminate()\n\nLike `#close`, but will immediately terminate worker processes. All outstanding jobs at the time this method is called will have their promises rejected.\n\n\n### new PriorityQueue(numWorkers) -> PriorityQueue\n\nA max priority queue built off of a pool of worker processes. Items with a higher priority will be processed first.\n\n##### .push(any arg, number priority, Function|String fnOrModulePath[, Object options]) -> Promise\n\nPushes an item onto the queue and returns a promise that will be resolved with the result or rejected if any errors were raised.\n\n```javascript\nconst PriorityQueue = require('multiprocessing').PriorityQueue;\n\nfunction square(x) {\n  return x * x;\n}\n\n// one worker guarantees ordering -- multiple workers will only start tasks in order\nconst pq = new PriorityQueue(1);\n\npq.push(25, 1, square).then(console.log),\npq.push(100, 3, square).then(console.log),\npq.push(50, 2, square).then(console.log),\npq.push(10, 4, square).then(console.log)\n\n// >>> 625   <- low priority, but gets kicked off first\n// >>> 100   <- highest priority\n// >>> 10000\n// >>> 2500\n```\n\nUses same options as Pool.map, but chunksize will be ignored.\n\n## License\n\n  MIT\n","maintainers":[{"name":"ryanpon","email":"me@ryanpon.com"}],"time":{"modified":"2022-06-20T13:56:48.688Z","created":"2015-09-30T04:09:22.184Z","0.0.1":"2015-09-30T04:09:22.184Z","0.0.2":"2015-09-30T04:22:52.672Z","0.0.3":"2015-09-30T17:10:17.225Z","0.0.4":"2015-10-02T01:46:48.256Z","0.0.5":"2015-10-02T05:37:06.537Z","0.0.6":"2015-10-03T06:04:35.353Z","0.1.0":"2015-10-22T06:55:25.892Z","0.1.1":"2015-10-22T07:18:06.633Z","0.2.0":"2015-10-23T03:56:27.986Z","0.2.1":"2015-10-23T04:00:16.519Z","0.2.2":"2015-10-23T04:01:34.511Z","0.2.3":"2015-10-25T22:11:51.995Z","0.3.0":"2016-03-04T01:01:08.846Z","0.4.1":"2016-03-05T07:48:31.218Z","0.5.0":"2016-03-07T22:28:53.566Z","0.5.1":"2016-03-07T22:29:40.373Z","1.0.0":"2016-10-18T19:01:55.934Z","1.1.0":"2017-02-08T18:11:05.310Z","1.1.1":"2017-02-08T18:12:14.088Z","1.2.0":"2018-12-17T21:11:53.811Z"},"keywords":["multiprocessing","parallel","multicore","map","pool"],"author":{"name":"Ryan Pon"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/ryanpon/node-multiprocessing#readme","repository":{"type":"git","url":"git+https://github.com/ryanpon/node-multiprocessing.git"},"bugs":{"url":"https://github.com/ryanpon/node-multiprocessing/issues"},"users":{"ryanpon":true,"vectorhacker":true}}