{"_id":"web-worker","_rev":"27-e681c5bc166f518e35bd798bd085c2f6","name":"web-worker","dist-tags":{"latest":"1.5.0"},"versions":{"0.0.0":{"name":"web-worker","version":"0.0.0","author":{"name":"Calvin Metcalf"},"license":"ISC","_id":"web-worker@0.0.0","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"c7d6caf37e5770be5df736fd32b70979be9a7289","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.0.0.tgz","integrity":"sha512-7ocMvoQt8V0uGw4txTDdq6CZKjzQcbqUECv1Ka9KQu9T8qgX0za6ki0/18qtZZaQbs9q90ZAs55cLjUKqxjkpw==","signatures":[{"sig":"MEUCIQCiC92/5Vm2xdY4Q+o29+gqcWaSbB0RT6ZNTRC8ioERWwIgMverZrBYqjLSRT3gGuWc2zkboj0pf+qnRreay91cjdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings","directories":{}},"0.1.0":{"name":"web-worker","version":"0.1.0","author":{"name":"Calvin Metcalf"},"license":"ISC","_id":"web-worker@0.1.0","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"69b740c3b8b2cc90f0e0d9faf2ed391828fe85e3","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.0.tgz","integrity":"sha512-3bIcY64aEGsZw+WpwIYlOJB4FpZRR+4JzQrgGDQ60toNPZED6H4uTvjs/ehvdVYcXIvA8FBDgwaFQv7YjsjsSA==","signatures":[{"sig":"MEUCIQDS4UZ0aWSyxnu8PirnCRAcGWW1+6lUIj9AuEE2hagwlAIgKa1jmFngY71wzaUkeseVNByZRhtCnS+otP0M4qPGxgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"0.1.2":{"name":"web-worker","version":"0.1.2","author":{"name":"Calvin Metcalf"},"license":"MIT","_id":"web-worker@0.1.2","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"459780e416e7246dd081f8ac24220f7142af5ca0","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.2.tgz","integrity":"sha512-b/hAgjeERmfjSDQ1Q5lRf70g7XvFk6BhTnL9HkhGWaSuzTaHwVZ+gXFfaW58LlqcYPXqgwkbpgBAilfIVR81/A==","signatures":[{"sig":"MEQCICQCM4AthAJfWBeS9rXeKyB4XqdJBZzvSLCAXcINtqREAiBGQR66ov8ilT1Thqnz4wXA7nJW6cMF5mH0Znl1MC6rpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings with iframe fallback","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"0.1.3":{"name":"web-worker","version":"0.1.3","author":{"name":"Calvin Metcalf"},"license":"MIT","_id":"web-worker@0.1.3","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"761c6131b28a2b7415aba635b78b68a5c1e2a9c7","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.3.tgz","integrity":"sha512-BmiGXNgBemAlorRcJZ4z9nGXMt3JoZY+0IdvM9rj19ILjCDx7ET0KCTXswb1AbkzKbIHaPyZ/vIiaEPdL6oEuQ==","signatures":[{"sig":"MEUCIQD3Hiht+vjcmmxUXSOo0h4D7OVTxBsOGbFaYc/WHgh7QgIgLbiBNm1WKrDTdndfsR0Jolt6XBEUU3WgLrjJqMdl5nk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings with iframe fallback","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"0.1.4":{"name":"web-worker","version":"0.1.4","author":{"name":"Calvin Metcalf"},"license":"MIT","_id":"web-worker@0.1.4","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"59689d372eb9fd5ce9eee043d2f8ae3242b9d3ef","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.4.tgz","integrity":"sha512-WoymJNfk+2Q4XnUtWEkb5DTPbjtpxB71X2qZeR3aBy5owyMhooqOOOrAD/57OlTcDAQ8vBiVJ4UO/278pxhXPQ==","signatures":[{"sig":"MEQCIDawEAP/HAsUGRolkfABU6cQuFGv7JIqpVsLFEf5Lk2PAiAJVe7FyuCFgnpW8qTLG+aZTZCIpz+Mz7xh71lOaPRlNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings with iframe fallback","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"0.1.5":{"name":"web-worker","version":"0.1.5","author":{"name":"Calvin Metcalf"},"license":"MIT","_id":"web-worker@0.1.5","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"ed95b89c673338a3aabc058307ac5f67a01d76bf","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.5.tgz","integrity":"sha512-AVpwjSMrK3g0D55GttfvO8Iek8od1xU++Z7kGB78p0hxJ6+yx3tXA/qx7a9HizGIVsSF7Bp/8gs05mVraFLKOQ==","signatures":[{"sig":"MEUCIGlct/m8ptCJRfg1J+LLhEPc2xgzHQ4fHiiU0djkMntBAiEAyU+3dQf9rUmBxEHYfCC7h6ZvF6OwFC2bebuwue6akFM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings with iframe fallback","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"0.1.6":{"name":"web-worker","version":"0.1.6","author":{"name":"Calvin Metcalf"},"license":"MIT","_id":"web-worker@0.1.6","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/calvinmetcalf/web-worker","bugs":{"url":"https://github.com/calvinmetcalf/web-worker/issues"},"dist":{"shasum":"19a783c893dafe22de1952f0962f8ff518db73b8","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-0.1.6.tgz","integrity":"sha512-ozE1we9Lzmm6KTFb8tCejaK9Y8OEaJE/Y6ShIIW9MNdtBVtCeCr/8mSJnoZP3dJquLbzH4Id6gnXDZsVRqHkjg==","signatures":[{"sig":"MEQCICgFp4qniRxor9Ixsx0p/HNutQUP71mY0p5+8B2M2sSzAiADw6FKrEB5x5IMs5R5WMjKhyR5pqSarTa6sp1HxhbjvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","scripts":{"test":"prova -l firefox -bq"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"browserify":{"transform":["hbsify"]},"repository":{"url":"https://github.com/calvinmetcalf/web-worker.git","type":"git"},"_npmVersion":"1.4.3","description":"make web workers from strings with iframe fallback","directories":{},"dependencies":{"lie":"^2.7.7","hbsify":"^1.0.1"},"devDependencies":{"prova":"^1.14.2","browserify":"^5.12.0"}},"1.0.0":{"name":"web-worker","version":"1.0.0","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.0.0","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"developit","email":"jason@developit.ca"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"c7ced4e1eb6227636ada35056a9e5a477414e4d0","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.0.0.tgz","fileCount":7,"integrity":"sha512-BzuMqeKVkKKwHV6tJuwePFcxYMxvC97D448mXTgh/CxXAB4sRtoV26gRPN+JDxsXRR7QZyioMV9O6NzQaASf7Q==","signatures":[{"sig":"MEUCIAsCuBOD/n6lgqUwqrFPiLvC7BtnltCiUN+VRkRYDvQoAiEApJ9hP4Oz0ZBm210ro9TYXM2fw4UyjBoPslE1XPAB/Yo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemdFjCRA9TVsSAnZWagAA5RwP/0BLCkPqVR7dheFxVvvm\n0NCqe7XrOTOKq/F206TdljMferdLYHX+UzOp/Ime5E1nxlccuIJmsBlS0YK2\nDcE+QsmIHP3gsGD8iE91jDsx5PgN2LYavRfunVliUdVvcYcKhwdhFBWdv1oR\nm0luZSpOfYPRyxeWzqsJTmaDk+kY+lZCpX2cCoYH3P7OcPap5VsgRjtlnzw6\n+g9+KFd2ZISqumF5vFPfpuWqHvjIKLvpQex98EM0u3mkT3drj9c6UD+W4H7l\nIXgxot/bRD6hQOYOH1/z5YdOrJrjdYj8fRrfmWmG7Xu4f66RP9qtXEouPltP\nCS8n2tz4IY5sSSTvRqfkY6cXX7HbRLLzpVrcPwYoDPsOH7Yt8hx+zEFbeT8v\n1AJUr2TifpSD1uAtRQJ9+H5WzCagP3QK1AYngtHyi+LCJcDa9Mi5dRoxvGsa\nY7JRJonJVJJ/kXNGH+9D4HdORSWW2qdHNTeo2O0oHPEENrKenvCUD58XzIs3\nzEKvMJ503eghQ2/YmeVcfogN1nDYTEiGI4g8CtvXKRNW9ZrbKtNhKHyOEu7M\nYtaDs2bJR4ZYEaiORohU3YouGMR5Y3/uRvWaxkd8gLaZ3h0DUTQcQRrZa7ov\n7HUXlFnOGfcVph9vWyMBob+bQRWBrxBYnKVX0MH2BJi4l9ECi/ek5KfUsDGW\nCpnw\r\n=O4Oq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/node.js","babel":{"plugins":["@babel/plugin-syntax-dynamic-import","babel-plugin-commonjs-lite"]},"authors":[],"browser":"./cjs/browser.js","exports":{"node":"./cjs/node.js","browser":"./cjs/browser.js","default":"./cjs/node.js"},"gitHead":"d004d65c90f9e2dc6e6c3718fe64b17d408fd18e","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"babel node.js browser.js -d cjs"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"6.13.4","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"12.16.0","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.4.0","eslint":"^6.8.0","@babel/cli":"^7.7.7","@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","eslint-config-developit":"^1.1.1","babel-plugin-commonjs-lite":"gist:3e38560d5bed35da1fd708d635e4acb3","@babel/plugin-syntax-dynamic-import":"^7.7.4","@babel/plugin-transform-modules-commonjs":"^7.7.5"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.0.0_1587138914691_0.4765174564732564","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"web-worker","version":"1.1.0","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.1.0","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"5cb84a7aab7c36da32965641cf6db6db8adfb794","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.1.0.tgz","fileCount":8,"integrity":"sha512-BsAzCx5k71qqjPXD5+nBEiLaH/5glNV1OASF2kB+13qkajkScd70mo0E4U0GyhD9nUGgWmSq8dVUqlIOdfICUg==","signatures":[{"sig":"MEUCIHoODjoNdF9RAn3tcFzUdk9wzwqNlirCCmX/KHakDZDCAiEAnUzVbwD1VOdjFVoHuQ0NPpX6pZ+b1sgUoBEO2owRMnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNoErCRA9TVsSAnZWagAAXdgP/jyrAHWwzEqHsSuHiMAk\nrv+NrXEzcE0bAPwWu9u0sct1Dicr2tGkwneAEomvvij6VRepexAsYuPlA1ok\ntmThDaeV2//UD31EmXB9zAvI1W1JLw0BP0QAcAO0eCS8A6ka7pItx9QxbFsi\nFL5jXhpfqR8T2YkFRY8BUMx/4fOGJ0trb7+SXbjtyuVPV+/rVGChCMgOSZmv\n7WjZTO5nbcsgYuBWAUf6G66S/i0VhaeZvol7T9QEWRkRz2QtJmI01CGwDu5Y\nmxTGDWucD3SMRvlckhPyJFixvkZ9RFuyycIlY858SQnCSPKTiGh4y0qC0eUw\nm69nk/r+gGEelrnkIWSj0hWg1EMSYHbCxHsSP9Hwtn+bqbf/RkP9BFP5+VI7\nyTt1Z2rK/tInJdXVFAr023cRKoDFowZdKFzDbGt8YIgQ2tjlld/v71/1LtN7\nIGPwn8Txzr1w5L+km0wR6LA8FpGB+vTtA6QtKPpPC6wr7WXuShJvss+fzEab\n/xNYqOloCTb8HH5K7aQAaYusKX2HL0ZF77ev7zW1O2hxWIhZnN1O22XAtOHb\noXvyonJdDZ334yYGoZXstszaTNao3XvWaxTOVYku9vntULLuLD3IIDBwxilY\nVBCOf3Qn4qtRMqm3QJGY5QvXhu6UxEmuN+orGn2U29pF+PeiiAOZGuYUCUH/\n4OKG\r\n=dgPK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/node.js","babel":{"plugins":["@babel/plugin-syntax-dynamic-import","babel-plugin-commonjs-lite"]},"types":"index.d.ts","authors":[],"browser":"./cjs/browser.js","exports":{"node":"./cjs/node.js","browser":"./cjs/browser.js","default":"./cjs/node.js"},"gitHead":"243c135c38b5e00f4309935a8644282615d01d51","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"babel node.js browser.js -d cjs"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"6.14.14","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"14.17.4","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.4.0","eslint":"^6.8.0","@babel/cli":"^7.7.7","@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","eslint-config-developit":"^1.1.1","babel-plugin-commonjs-lite":"gist:3e38560d5bed35da1fd708d635e4acb3","@babel/plugin-syntax-dynamic-import":"^7.7.4","@babel/plugin-transform-modules-commonjs":"^7.7.5"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.1.0_1630961963210_0.6640059568159196","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"web-worker","version":"1.2.0","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.2.0","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"5d85a04a7fbc1e7db58f66595d7a3ac7c9c180da","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz","fileCount":8,"integrity":"sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==","signatures":[{"sig":"MEUCID6Zo9nKNExu64h2YRaS14G9dlkltu/SliiFrzWOxsJPAiEAt1uGhzV1VHAnO0T+w55qakmeD3CJc4dL1Sb4n0wCGp4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3A/oCRA9TVsSAnZWagAAXPgQAIhXPXHqserzVjFCfmtD\ngat/wOcfuTSv/beLcZEvojqdJ7mjSm97PZmpSj78fj51YDcvZVL6aF1iaUZi\n4dNLYGkr0FW9z7qhIeVz+uFnVUCD19z1iHvK8MkcdO57SwjGGMUk9foSoiG6\nFe4SSmTWC+KhlClyOJ85GdXSMbl+4X73klIX/Si66XYp3WbkfQZizYMP5LWM\n0XJGxHgeDh82a5qAUZ6wqV3/ntyFGtwEDJb1QRhaAY2CoqMNGiidLVv5XzkS\nQ+FwJaJ8OYEYGRTi9ZCLGs+YwbGeLjLflSks3HdFXvXX0YH7ltdtG6CUiHOA\nv1S0b8iccMqs8yo4p86DWW/LY8luAhq8poGF1QgbeX6kaaJmlY178UIKGZPC\nYE8cVkOMWbuYCa/L0iV197nXsUoXuNOE+N1pk6iaTZ+cO1I78Jxqh6Oewvac\nyF1Ns1EbY3lXmGj8rqVOdhirPQ+nBmW+aAtfZNV4g85WF7QGR9TMNTcAEmLr\n/2J0uP5LrgaPkL/prpmzNAdLsb9B2BmfKXq/h/5g2V88JdteZ1GbVSlw5/Z0\nD1D7XM39d0jbFZ2SZXePihHFDdtyxb4NSSkBosCIgKQlgZL92F4MCe0sgvvM\nmEp11f+vGt4takdadNmaBZBzqvn0Zg3kciOzR6liENIxtVrd4epqmV3n53Vc\nriyJ\r\n=zvJJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/node.js","babel":{"plugins":["@babel/plugin-syntax-dynamic-import","babel-plugin-commonjs-lite"]},"types":"index.d.ts","authors":[],"browser":"./cjs/browser.js","exports":{"node":"./cjs/node.js","browser":"./cjs/browser.js","default":"./cjs/node.js"},"gitHead":"29fef9775702c91887d3d8733e595edf1a188f31","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"babel node.js browser.js -d cjs"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"7.15.1","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"16.3.0","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.4.0","eslint":"^6.8.0","@babel/cli":"^7.7.7","@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","eslint-config-developit":"^1.1.1","babel-plugin-commonjs-lite":"gist:3e38560d5bed35da1fd708d635e4acb3","@babel/plugin-syntax-dynamic-import":"^7.7.4","@babel/plugin-transform-modules-commonjs":"^7.7.5"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.2.0_1636076315161_0.975856097163742","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"web-worker","version":"1.3.0","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.3.0","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"e5f2df5c7fe356755a5fb8f8410d4312627e6776","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.3.0.tgz","fileCount":8,"integrity":"sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==","signatures":[{"sig":"MEYCIQCPT7mpUBijcRPVMoQ7dn7MXjcWHZe2Om1sjCW3KJQH9wIhALwK2yljq68OWccfnlEni4cTFgESyOLvFeCGdvIMPfrb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31054},"main":"./cjs/node.js","babel":{"plugins":["@babel/plugin-syntax-dynamic-import","babel-plugin-commonjs-lite"]},"types":"./index.d.ts","authors":[],"browser":"./cjs/browser.js","exports":{"types":"./index.d.ts","import":{"bun":"./browser.js","browser":"./browser.js","default":"./node.js"},"module":{"bun":"./browser.js","browser":"./browser.js","default":"./node.js"},"default":{"bun":"./cjs/browser.js","browser":"./cjs/browser.js","default":"./cjs/node.js"}},"gitHead":"b89a392aa178c70701ee89abef4a5d30f8c59527","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"babel node.js browser.js -d cjs"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"9.4.0","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"19.6.1","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"2.4","eslint":"^7.32.0","@babel/cli":"^7.21.0","@babel/core":"^7.21.0","eslint-plugin-compat":"^4.2.0","eslint-config-developit":"^1.2.0","babel-plugin-commonjs-lite":"gist:3e38560d5bed35da1fd708d635e4acb3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-modules-commonjs":"7.21"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.3.0_1704397387315_0.7613346713624587","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"web-worker","version":"1.4.0","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.4.0","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"7dbd1fca42d25f429429b7a3d1ba6f853a22939a","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.4.0.tgz","fileCount":9,"integrity":"sha512-JLVu8Y9hJ/cfuoQZkw6zpTx3N8SgnpAvz3SULhaOvdU1xhNgymTLVJwWU1wLmo3YvCsnSg4XTRRTNrunvjBOCg==","signatures":[{"sig":"MEUCICz53JFZ2OZmD+cLMOznl5EXpLxzJDOWMUVaT3ChcV9mAiEAqjS6b0qQA96nMMu984TshQRWjb6IiyD98WbG7Cb9jMU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30016},"main":"./dist/browser/index.cjs","type":"module","types":"./types/index.d.cts","authors":[],"browser":"./dist/browser/index.cjs","exports":{"import":{"bun":"./src/browser/index.js","types":"./types/index.d.ts","browser":"./src/browser/index.js","default":"./src/node/index.js"},"module":{"bun":"./src/browser/index.js","types":"./types/index.d.ts","browser":"./src/browser/index.js","default":"./src/node/index.js"},"default":{"bun":"./dist/browser/index.cjs","types":"./types/index.d.cts","browser":"./dist/browser/index.cjs","default":"./dist/node/index.cjs"}},"gitHead":"96651ab1dc597b0da4a3d563342a4a98756f0de1","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"tsup"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"10.9.2","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"23.5.0","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0","tsup":"^8.0.2","eslint":"^7.32.0","eslint-plugin-compat":"^4.2.0","eslint-config-developit":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.4.0_1738339048418_0.17450472979800846","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"web-worker","version":"1.4.1","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"license":"Apache-2.0","_id":"web-worker@1.4.1","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"homepage":"https://github.com/developit/web-worker","bugs":{"url":"https://github.com/developit/web-worker/issues"},"dist":{"shasum":"894e71a8f6fce059dc175864fcdf9e633eb7cc6b","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.4.1.tgz","fileCount":9,"integrity":"sha512-bEYkHEaeUTjiWscVoW7UBLmAV1S9v0AELr9+3B94Ps1G6E5N/jmSth1e5RZoWbLZWqkI/eyb7KT3sto0ugRpLg==","signatures":[{"sig":"MEUCIGzLyzTvVx5ed43AqMHXF632zk2KCEn7b+e0I4mtz62KAiEA0y5kV906QYcPyu6bAqVY8u7oM/GYUyIuJAhZPx6ifRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30062},"main":"./dist/browser/index.cjs","type":"module","types":"./types/index.d.cts","authors":[],"browser":"./dist/browser/index.cjs","exports":{"import":{"bun":"./src/browser/index.js","types":"./types/index.d.ts","browser":"./src/browser/index.js","default":"./src/node/index.js"},"module":{"bun":"./src/browser/index.js","types":"./types/index.d.ts","browser":"./src/browser/index.js","default":"./src/node/index.js"},"default":{"bun":"./dist/browser/index.cjs","types":"./types/index.d.cts","browser":"./dist/browser/index.cjs","default":"./dist/node/index.cjs"}},"gitHead":"1fda46ca4529fd40274c1e5bbe899a138a158f10","scripts":{"test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava","prepare":"tsup"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"repository":{"url":"git+https://github.com/developit/web-worker.git","type":"git"},"_npmVersion":"10.9.2","description":"Consistent Web Workers in browser and Node.","directories":{},"_nodeVersion":"23.5.0","eslintConfig":{"rules":{"no-console":0},"extends":"developit"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0","tsup":"^8.0.2","eslint":"^7.32.0","eslint-plugin-compat":"^4.2.0","eslint-config-developit":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/web-worker_1.4.1_1738343763495_0.09611426658122513","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"web-worker","version":"1.5.0","description":"Consistent Web Workers in browser and Node.","main":"./dist/browser/index.cjs","browser":"./dist/browser/index.cjs","types":"./types/index.d.cts","type":"module","exports":{"import":{"types":"./types/index.d.ts","bun":"./src/browser/index.js","browser":"./src/browser/index.js","default":"./src/node/index.js"},"module":{"types":"./types/index.d.ts","bun":"./src/browser/index.js","browser":"./src/browser/index.js","default":"./src/node/index.js"},"default":{"types":"./types/index.d.cts","bun":"./dist/browser/index.cjs","browser":"./dist/browser/index.cjs","default":"./dist/node/index.cjs"}},"scripts":{"prepare":"tsup","test":"eslint '*.js' test && node --experimental-modules ./node_modules/.bin/ava"},"repository":{"type":"git","url":"git+https://github.com/developit/web-worker.git"},"keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"authors":[],"license":"Apache-2.0","homepage":"https://github.com/developit/web-worker","eslintConfig":{"extends":"developit","rules":{"no-console":0}},"devDependencies":{"ava":"^6.2.0","eslint":"^7.32.0","eslint-config-developit":"^1.2.0","eslint-plugin-compat":"^4.2.0","tsup":"^8.0.2"},"_id":"web-worker@1.5.0","gitHead":"9d20474a7d7cefa98add3d59dba8293f01ab70bc","bugs":{"url":"https://github.com/developit/web-worker/issues"},"_nodeVersion":"23.5.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-RiMReJrTAiA+mBjGONMnjVDP2u3p9R1vkcGz6gDIrOMT3oGuYwX2WRMYI9ipkphSuE5XKEhydbhNEJh4NY9mlw==","shasum":"71b2b0fbcc4293e8f0aa4f6b8a3ffebff733dcc5","tarball":"https://registry.npmjs.org/web-worker/-/web-worker-1.5.0.tgz","fileCount":9,"unpackedSize":31056,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE6oLb8K92rqcdHaxhx+BfTWo1mpmtZBvBo6ueB/kQI3AiEA4jVRIpfAS49BBscXeOu8bxriLk/fJQO7ASJcwKPS+EY="}]},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/web-worker_1.5.0_1738346976224_0.782634681893315"},"_hasShrinkwrap":false}},"time":{"created":"2014-09-18T19:57:17.896Z","modified":"2025-01-31T18:09:36.607Z","0.0.0":"2014-09-18T19:57:17.896Z","0.1.0":"2014-09-23T18:13:45.869Z","0.1.2":"2014-09-23T18:18:43.165Z","0.1.3":"2014-09-23T18:22:45.047Z","0.1.4":"2014-09-23T18:30:12.263Z","0.1.5":"2014-09-23T18:38:01.011Z","0.1.6":"2014-09-24T12:54:29.483Z","1.0.0":"2020-04-17T15:55:14.873Z","1.1.0":"2021-09-06T20:59:23.353Z","1.2.0":"2021-11-05T01:38:35.307Z","1.3.0":"2024-01-04T19:43:07.522Z","1.4.0":"2025-01-31T15:57:28.625Z","1.4.1":"2025-01-31T17:16:03.759Z","1.5.0":"2025-01-31T18:09:36.457Z"},"bugs":{"url":"https://github.com/developit/web-worker/issues"},"license":"Apache-2.0","homepage":"https://github.com/developit/web-worker","keywords":["worker","worker_threads","webworker","web worker","web-worker","threads"],"repository":{"type":"git","url":"git+https://github.com/developit/web-worker.git"},"description":"Consistent Web Workers in browser and Node.","maintainers":[{"name":"developit","email":"jason@developit.ca"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"guybedford","email":"guybedford@gmail.com"}],"readme":"<h1 align=\"center\">\n  web-worker\n  <a href=\"https://www.npmjs.org/package/web-worker\"><img src=\"https://img.shields.io/npm/v/web-worker.svg?style=flat-square\" alt=\"npm\"></a>\n</h1>\n<p align=\"center\">\n  Native cross-platform Web Workers. Works in published npm modules.\n</p>\n<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/105127/79602228-1998bf00-80b8-11ea-91e4-26b212aabaa2.png\" width=\"1000\" alt=\"\">\n</p>\n\n**In Node**, it's a web-compatible Worker implementation atop Node's [worker_threads](https://nodejs.org/api/worker_threads.html).\n\n**In the browser** (and when bundled for the browser), it's simply an alias of `Worker`.\n\n### Features\n\n_Here's how this is different from worker_threads:_\n\n- makes Worker code compatible across browser and Node\n- supports Module Workers (`{type:'module'}`) natively in Node 12.8+\n- uses DOM-style events (`Event.data`, `Event.type`, etc)\n- supports event handler properties (`worker.onmessage=..`)\n- `Worker()` accepts a module URL, Blob URL or Data URL\n- emulates browser-style [WorkerGlobalScope] within the worker\n\n### Usage Example\n\nIn its simplest form:\n\n```js\nimport Worker from 'web-worker';\n\nconst worker = new Worker('data:,postMessage(\"hello\")');\nworker.onmessage = e => console.log(e.data);  // \"hello\"\n```\n\n<table>\n<thead><tr><th><strong>main.js</strong></th><th><strong>worker.js</strong></th></tr></thead>\n<tbody><tr><td>\n\n```js\nimport Worker from 'web-worker';\n\nconst url = new URL('./worker.js', import.meta.url);\nconst worker = new Worker(url);\n\nworker.addEventListener('message', e => {\n  console.log(e.data)  // \"hiya!\"\n});\n\nworker.postMessage('hello');\n```\n\n</td><td valign=\"top\">\n\n```js\naddEventListener('message', e => {\n  if (e.data === 'hello') {\n    postMessage('hiya!');\n  }\n});\n```\n\n</td></tr></tbody>\n</table>\n\n👉 Notice how `new URL('./worker.js', import.meta.url)` is used above to load the worker relative to the current module instead of the application base URL. Without this, Worker URLs are relative to a document's URL, which in Node.js is interpreted to be `process.cwd()`.\n\n> _Support for this pattern in build tools and test frameworks is still limited. We are [working on growing this](https://github.com/developit/web-worker/issues/4)._\n\n### Module Workers\n\nModule Workers are supported in Node 12.8+ using this plugin, leveraging Node's native ES Modules support.\nIn the browser, they can be used natively in Chrome 80+, or in all browsers via [worker-plugin] or [rollup-plugin-off-main-thread]. As with classic workers, there is no difference in usage between Node and the browser:\n\n<table>\n<thead><tr><th><strong>main.mjs</strong></th><th><strong>worker.mjs</strong></th></tr></thead>\n<tbody><tr><td>\n\n```js\nimport Worker from 'web-worker';\n\nconst worker = new Worker(\n  new URL('./worker.mjs', import.meta.url),\n  { type: 'module' }\n);\nworker.addEventListener('message', e => {\n  console.log(e.data)  // \"200 OK\"\n});\nworker.postMessage('https://httpstat.us/200');\n```\n\n</td><td valign=\"top\">\n\n```js\nimport fetch from 'isomorphic-fetch';\n\naddEventListener('message', async e => {\n  const url = e.data;\n  const res = await fetch(url)\n  const text = await res.text();\n  postMessage(text);\n});\n```\n\n</td></tr></tbody>\n</table>\n\n\n### Data URLs\n\nInstantiating Worker using a Data URL is supported in both module and classic workers:\n\n```js\nimport Worker from 'web-worker';\n\nconst worker = new Worker(`data:application/javascript,postMessage(42)`);\nworker.addEventListener('message', e => {\n  console.log(e.data)  // 42\n});\n```\n\n### Special Thanks\n\nThis module aims to provide a simple and forgettable piece of infrastructure,\nand as such it needed an obvious and descriptive name.\n[@calvinmetcalf](https://github.com/calvinmetcalf), who you may recognize as the author of [Lie](https://github.com/calvinmetcalf/lie) and other fine modules, gratiously offered up the name from his `web-worker` package.\nThanks Calvin!\n\n\n[worker-plugin]: https://github.com/googlechromelabs/worker-plugin\n[rollup-plugin-off-main-thread]: https://github.com/surma/rollup-plugin-off-main-thread\n[WorkerGlobalScope]: https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope\n","readmeFilename":"README.md","users":{"hollobit":true}}