{"id":19793564,"url":"https://github.com/darky/piscina-microjob","last_synced_at":"2025-06-22T18:06:49.354Z","repository":{"id":57688141,"uuid":"492941809","full_name":"darky/piscina-microjob","owner":"darky","description":"CPU bound routines over Piscina thread pool","archived":false,"fork":false,"pushed_at":"2022-09-03T14:21:07.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T18:06:33.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-16T17:49:28.000Z","updated_at":"2022-05-17T10:04:20.000Z","dependencies_parsed_at":"2022-08-25T17:52:06.135Z","dependency_job_id":null,"html_url":"https://github.com/darky/piscina-microjob","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darky/piscina-microjob","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darky%2Fpiscina-microjob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darky%2Fpiscina-microjob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darky%2Fpiscina-microjob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darky%2Fpiscina-microjob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darky","download_url":"https://codeload.github.com/darky/piscina-microjob/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darky%2Fpiscina-microjob/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261338952,"owners_count":23143892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T07:10:21.631Z","updated_at":"2025-06-22T18:06:44.336Z","avatar_url":"https://github.com/darky.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# piscina-microjob\nCPU bound routines over Piscina thread pool\n\nInspired by https://github.com/wilk/microjob, but uses https://github.com/piscinajs/piscina as thread pool\n\n### Example\n\n```typescript\nimport { threadPoolFactory } from 'piscina-microjob';\n\nconst thread = threadPoolFactory({\n  // ... https://github.com/piscinajs/piscina#class-piscina options can be passed\n});\n\nconst resp = await thread(({n}) =\u003e n + 1, { n: 1 }, {\n  // https://github.com/piscinajs/piscina#method-runtask-options options can be passed\n});\n\nresp; // 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarky%2Fpiscina-microjob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarky%2Fpiscina-microjob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarky%2Fpiscina-microjob/lists"}