A simple technique to promisify Chrome extension API
Update: Now you can use toPromise from crx-esm!    One of my pain when developing a Chrome extension...
Tags: chrome, extensions, promise, beginners