deasync

Turns async function into sync via JavaScript wrapper of Node event loop

write

Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.

@kaciras/deasync

Turns async code into sync via JavaScript wrapper of Node event loop, support both callback and promise