sindresorhus

make-synchronous

Make an asynchronous function synchronous

by sindresorhus

JavaScript

JavaScript98.8%
TypeScript1.2%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

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

When running in debug mode, the spawned subprocess also runs in debug mode - so each time, it fires up a new debug session which take forever to instanciate. Warning like this appear on the debug console. Is there a way to pass over a 'custom env Node options' as an argument to makeSyncronous? thank you

brucemcpherson · 8mo ago
DinoscapeProgramming

Description of Change Fixes an issue where running the worker code in Deno caused a runtime error: . This was due to Node.js-specific calls on and objects. Using optional chaining () ensures that the code runs in Deno without affecting Node.js behavior. Checklist [x] passes Release Notes** Notes: Fixed a runtime error in Deno caused by calls. This makes workers compatible across Node.js and Deno.

DinoscapeProgramming · 1y ago
Structured data for AI agents

Repository: sindresorhus/make-synchronous. Description: Make an asynchronous function synchronous Stars: 332, Forks: 9. Primary language: JavaScript. Languages: JavaScript (98.8%), TypeScript (1.2%). License: MIT. Latest release: v2.1.0 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 3w ago. Community health: 71%. Top contributors: sindresorhus, fisker, mesqueeb, Richienb.