Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-worker

A tiny library that simplifies calling functions in a worker by handling events and turning them into promises. It works very similarly to comlink, but it's much smaller and simpler.

If you don't need control over the worker, you might also consider the following alternatives:

  • greenlet: if you need to move only a single function to a worker;
  • workerize: if you need to move a whole module to a worker.

Installation

npm i @easy-worker/core
# or
yarn add @easy-worker/core
# or
bun i @easy-worker/core

About

A tiny library that simplifies calling functions in a worker by handling events and turning them into promises.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages