sindresorhus

make-asynchronous

Make a synchronous function asynchronous by running it in a worker

by sindresorhus

JavaScript

JavaScript96.5%
TypeScript3.5%

Commit activity

Last 12 weeks · 3 commits

Full graph →

Community health

4 of 6 standards met

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

Bumps the version to for smaller bundle sizes when deps depend on different version of .

achingbrain · 4mo ago
TimDaub

I import make-asynchronous on node 18.20. I import it in a .mjs file: but it immediately throws So I try to set type: module in my package.json but it isn't solving it. However, when I go into node_modules/web-worker/package.json, and set it there, the problem is fixed. Wasn't sure where to create the issue, maybe it's a web-worker issue related issues at web-worker: https://github.com/developit/web-worker/issues/44 users of make-asynchronous can work-around this issue by defining in their dependencies

TimDaub · 7mo ago
Structured data for AI agents

Repository: sindresorhus/make-asynchronous. Description: Make a synchronous function asynchronous by running it in a worker Stars: 260, Forks: 7. Primary language: JavaScript. Languages: JavaScript (96.5%), TypeScript (3.5%). License: MIT. Latest release: v2.1.0 (3w ago). Open PRs: 0, open issues: 0. Last activity: 3w ago. Community health: 85%. Top contributors: sindresorhus, Richienb, TimDaub.