JSPM

  • Created
  • Published
  • Downloads 12830604
  • Score
    100M100P100Q213689F
  • License MIT

A minimal and tiny Node.js Worker Thread Pool implementation, a fork of piscina, but with fewer features

Package Exports

  • tinypool
  • tinypool/dist/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tinypool) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Piscina Logo

piscina - the node.js worker pool

CI

  • ✔ 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

Written in TypeScript.

For Node.js 12.x and higher.

[MIT Licensed][].

Docs

Read full docs on GitHub.