workio
v0.1.1
Published
The Web Worker Framework
Readme
Workio
// module.ts
export const sum = (a: number, b: number) => a + b;// main.ts
const { Workio } = await import("workio");
using instance = await Workio("./module.ts", import.meta.url);
console.log(await instance.sum(1, 2)); // "3"
// The instance will be terminated when the scope ends!Workio is a JavaScript library for building and managing Web Workers.
Visit StackBlitz for your first step into the developer experience at Workio.
