Convenience method to patch Chromium bug when getting duration of HTML5 video or audio Blob.
Import the method however you like (browser, module, etc.). Once you have it in scope:
// Returns Promise<Number>;
Or use ECMAScript 6:
// yada yada asyncconst duration = awaitconsole
- Typescript defs (thanks kandros)
- Fix audits + gulp update to ^4.0.0