UNPKG

node-threads-pool

Version:

Node-Threads-Pool is a tool for creating thread pools in Node.js, making it easy to implement efficient parallel computing. With Node-Threads-Pool, you can easily create and manage multiple threads, allocate tasks to worker threads in the thread pool, and

9 lines (7 loc) 158 B
const render = require('./render'); render('./index.pug', { name: 'node-threads-pool', author: 'pengxiguaa' }) .then(console.log) .catch(console.error);