{"library":"workerize-loader","type":"library","category":null,"description":"A Webpack loader that moves a module and its dependencies into a Web Worker, automatically reflecting exported functions as asynchronous proxies. Version 2.0.2 is current, supporting Webpack 5. It bundles a tiny RPC implementation, supports synchronous and async worker functions, and works with async/await. Key differentiators: no separate worker file needed, automatically wraps exports as async proxies, and allows instantiable Worker decorators.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","webpack","loader","worker","web worker","thread","workerize"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install workerize-loader","imports":["import worker from 'workerize-loader!./worker'","let instance = worker()","import worker from 'workerize-loader?inline!./worker'"]},{"cmd":"yarn add workerize-loader","imports":[]},{"cmd":"pnpm add workerize-loader","imports":[]}],"homepage":null,"github":"https://github.com/developit/workerize-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/workerize-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}