r3bl-org / shortlink

This Chrome extension provides a browser action that simply allows the user to create a shortlink for all the selected tabs in the current window. It can be activated via a keyboard shortcut Alt + L. To use it, in the omnibar, type go then press Tab, then type the phrase you have created a shortlink for earlier & it will open the tab(s).
https://chrome.google.com/webstore/detail/shorty/ffhfkgcfbjoadmhdmdcmigopbfkddial?hl=en-US&gl=US
MIT License
11 stars 13 forks source link

Refactor entire codebase to use promisified `chrome.storage.sync` API #16

Closed nazmulidris closed 1 year ago

nazmulidris commented 1 year ago

The chrome.storage.sync API uses call backs and it causes a lot of issues w/ writing async code easily. Replace all use of callbacks and replace with async / await and promisified storage API.