GitShow/yyx990803/okie
yyx990803

okie

Dead simple worker threads pool

by yyx990803
Star on GitHubForknpm

TypeScript

271 stars15 forks2 contributorsQuiet · 2y agoSince 2020MIT

Meet the team

See all 2 on GitHub →
yyx990803
yyx9908035 contributions
antleblanc
antleblanc1 contribution

Languages

View on GitHub →
TypeScript83.6%
JavaScript16.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 in progress · Last activity 2y ago
See all on GitHub →
sapphi-red
feat: use `os.availableParallelism` when availableOpenPR

Now Node.js recommends using instead of for this purpose. https://nodejs.org/api/os.html#oscpus:~:text=os.cpus().length%20should%20not%20be%20used%20to%20calculate%20the%20amount%20of%20parallelism%20available%20to%20an%20application.%20Use%20os.availableParallelism()%20for%20this%20purpose. This PR makes the default value to use that when it's available. (Node.js 18.14.0+, 19.4.0+) https://nodejs.org/api/os.html#osavailableparallelism I also updated TypeScript as the type check failed on my machine. I tested this change by running on Node.js 18.17.1 (Windows) and on Node.js 18.12.1 (WSL).

sapphi-red · 2y ago
sishenhei7
Add path supportOpenIssue

Hello,this repo display a convenient way to create a worker pool by Promise. But it only support using a function to create a worker pool. So i add the feature to create a worker pool by using a file path. Please see #3

sishenhei7 · 5y ago
sishenhei7
Feat/add path supportOpenPR

support creating a worker by using a file path

sishenhei7 · 5y ago

Recent fixes

View closed PRs →
rodrigogs
Very small promise pool libClosedIssue

Hey, your lib is amazing and simple. It reminds me of a lib that I made and I'm using it very often. I thought it might inspire you by its simplicity. Check it out: https://github.com/rodrigogs/promise-pool

rodrigogs · 5y ago
antleblanc
Fix typoMergedPR

Small typo found in . Hope you'll find this useful. Thank you!

antleblanc · 5y ago
Structured data for AI agents

Repository: yyx990803/okie. Description: Dead simple worker threads pool Stars: 271, Forks: 15. Primary language: TypeScript. Languages: TypeScript (83.6%), JavaScript (16.4%). License: MIT. Open PRs: 2, open issues: 1. Last activity: 2y ago. Community health: 42%. Top contributors: yyx990803, antleblanc.

·@ofershap

Replace github.com with gitshow.dev