jrit / web-resource-inliner

Inlines img, script and link tags into the same file
MIT License
66 stars 29 forks source link

Replace callbacks with promise based api #58

Open TrySound opened 4 years ago

TrySound commented 4 years ago

We already use promises internally. Perhaps it would be a good step forward to provide promise based api instead of old callback style. The code may be simplified as well.

jrit commented 3 years ago

yeah, I agree