You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Callback style APIs are really a thing of the past now that async/await are available in node > 7 ! upndown.convert(html) should return a Promise when no callback is provided !
The text was updated successfully, but these errors were encountered:
zipang
added a commit
to zipang/upndown
that referenced
this issue
Jun 22, 2017
I provided a Promise implementation by checking if a callback was passed.
Now it's really nice to be able to use await : var markdown = await upndown.convert(html);
Callback style APIs are really a thing of the past now that
async/await
are available in node > 7 !upndown.convert(html)
should return a Promise when no callback is provided !The text was updated successfully, but these errors were encountered: