{"name":"tinypool","version":"0.0.4","description":"A minimal and tiny Node.js Worker Thread Pool implementation, a fork of piscina, but with fewer features","type":"module","main":"./dist/esm/index.js","module":"./dist/esm/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/aslemammad/tinypool.git"},"keywords":["fast","worker threads","thread pool"],"license":"MIT","bugs":{"url":"https://github.com/aslemammad/tinypool/issues"},"homepage":"https://github.com/aslemammad/tinypool#readme","engines":{"node":">=14.0.0"},"_id":"tinypool@0.0.4","_nodeVersion":"16.5.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-TQkHhh1cCDsgB1S5DYZ86ljDLlSH+IQA8YkcsuFyD8J1KiQ5mQxL4JvMN7AuNN1Le94ykMdjHtRpcVHRCXonsQ==","shasum":"4567d6fce8790dc46eef2d633022112f453a1621","tarball":"http://registry-npm.ywwl.com/tinypool/download/tinypool-0.0.4.tgz","fileCount":8,"unpackedSize":24176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhweC8CRA9TVsSAnZWagAAbM8P/0QiDnjOU1uIbdbFZQUL\nHmeM8hT1e0y79wMwMkMO+u9JeCaHDbvxDyX8w1nZMEu/1p0b5HpFb/jZjac+\nVB+CFCXt7ByeihLPi3hxTbRd6ADSmMbAnJMx7NBIZkDi/OM25r1GzcgTLici\nhdXh0KHTozLxYLQt7yu55ULCg86RiYYrAv/U0zAkeWDkPMQKMq7SGtjBEfTv\nRXciE3n7NOPCefi8tkl76XlFKM33notuddKRfQM50ozTR1z5py4GbevzYlOq\nioWByLSBBfQbUEFSx5wMN2LWVP2f8W/PlOZh7cKFHLKMutLw1VSKgbaFfYIR\nKCmXz0hj6ggM8DNDAbiYQw76zP2TQwD7hob5hdL+pVHo2njbGQ/gfqWAb+s6\nKQ3Gql2LA150CsaChpL6DiKXpqHBn8KkXwDOGhOAl23n4KuUcN/XiSpjMxXr\naFFplki+pTjeX4BC2f3qkPxAZ80BhThYWqWlje61cjaMDg4huUe5AKrSpRL7\niITQ97hMFklhh3F9lcvk73RuRHFcY30PHai+l9AQMNsDvhw00WbyuvG1rP7p\nkXP3vMFvrB/gd+PBbPO0M7XYwOC3fuRjbPTY0STGiiKWk5mzpCCkrRQ7N1Mq\nvTBVowkt1dw0Q/BwKUxxPuaWjFvp9AgUuO1CzkcXDfcKBKUq/ZfDvuILBe7H\nRJbX\r\n=K6E+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs5Dt0VwUeZnd8lc5G8wlbOkwyNWO68uQ9IkcR9jfyTAIhAMuX5y9ROD3xnucL02C1fCbAi9evSffepUXuQQWMbA9a"}],"size":8414,"noattachment":false,"key":"/tinypool/-/tinypool-0.0.4.tgz"},"_npmUser":{"name":"aslemammad","email":"zorofight94@gmail.com"},"directories":{},"maintainers":[{"name":"aslemammad","email":"zorofight94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinypool_0.0.4_1640095932816_0.8890177251153626"},"_hasShrinkwrap":false,"readme":"# Tinypool - the node.js worker pool 🧵\n\n> Piscina: A fast, efficient Node.js Worker Thread Pool implementation\n\nTinypool is a fork of piscina. What we try to achieve in this library, is to eliminate some dependencies and features that our target users don't need (currently, our main user will be Vitest). Tinypool's install size (38KB) can then be smaller than Piscina's install size (6MB). If you need features like [utilization](https://github.com/piscinajs/piscina#property-utilization-readonly) or [NAPI](https://github.com/piscinajs/piscina#thread-priority-on-linux-systems), [Piscina](https://github.com/piscinajs/piscina) is a better choice for you. We think that Piscina is an amazing library, and we may try to upstream some of the dependencies optimization in this fork.\n\n- ✅ Smaller install size, 38KB\n- ✅ Minimal\n- ✅ No dependencies\n- ✅ Physical cores instead of Logical cores with [physical-cpu-count](https://www.npmjs.com/package/physical-cpu-count)\n- ✅ Supports `worker_threads` and `child_process`\n- ❌ No utilization\n- ❌ No NAPI\n\n- Written in TypeScript, and ESM support only. For Node.js 18.x and higher.\n\n_In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an [RFC](https://github.com/tinylibs/rfcs)_\n\n## Docs\nRead **[full docs](https://github.com/tinylibs/tinypool#readme)** on GitHub.\n","publish_time":1640095932989,"_cnpm_publish_time":1640095932989,"dist-tags":{"latest":"2.2.0"}}