Socket
Socket
Sign inDemoInstall

tinypool

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinypool - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "tinypool",
"version": "0.0.1",
"version": "0.0.2",
"description": "A minimal and tiny Node.js Worker Thread Pool implementation, a fork of piscina, but with fewer features",

@@ -5,0 +5,0 @@ "type": "module",

@@ -1,25 +0,20 @@

![Piscina Logo](https://avatars1.githubusercontent.com/u/65627548?s=200&v=4)
# Tinypool - the node.js worker pool 🧵
# piscina - the node.js worker pool
> Piscina: A fast, efficient Node.js Worker Thread Pool implementation
![CI](https://github.com/jasnell/piscina/workflows/CI/badge.svg)
Tinypool is no more than a fork of piscina, what we try to acheive in this library, is to eliminate some dependencies and extra features of piscina that we're less likely to use them in our projects.
That's why Tinypool's install size (24KB) is so smaller than Piscina's install size (6MB).
Therefore, 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.
* ✔ Fast communication between threads
* ✔ Covers both fixed-task and variable-task scenarios
* ✔ Supports flexible pool sizes
* ✔ Proper async tracking integration
* ✔ Tracking statistics for run and wait times
* ✔ Cancellation Support
* ✔ Supports enforcing memory resource limits
* ✔ Supports CommonJS, ESM, and TypeScript
* ✔ Custom task queues
* ✔ Optional CPU scheduling priorities on Linux
* ✅ Smaller install size, 24KB
* ✅ Minimal
* ✅ No dependencies
* ❌ No utilization
* ❌ No NAPI
Written in TypeScript.
For Node.js 12.x and higher.
[MIT Licensed][].
* Written in TypeScript, and ESM support only. For Node.js 14.x and higher.
## Docs
Read **[full docs](https://github.com/aslemammad/tinypool#readme)** on GitHub.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc