Comlink
github.com
Comlink is a lightweight library (1.1kB) that simplifies working with WebWorkers by abstracting the complexities of postMessage, making the interaction with workers more intuitive and enjoyable.
Visit websiteComlinkComlink makes WebWorkers enjoyable. Comlink is a tiny library (1.1kB), that removes the mental barrier of thinking about postMessage and hides the fact that you are working with workers.