{"_id":"webworkify","_rev":"44-0802d1a37859c733de54405995c8fa5a","name":"webworkify","description":"launch a web worker that can require() in the browser with browserify","dist-tags":{"latest":"1.5.0"},"versions":{"0.0.0":{"name":"webworkify","version":"0.0.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@0.0.0","dist":{"shasum":"d9ad872b578b3aaf5d492779c11f847748f37840","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-0.0.0.tgz","integrity":"sha512-MDVAj0vdJPyGv9xJPSZnyzVz15IFhiDXivzigk9dsNsHyNQG3Sh585iiWS6hh1qbhOFaswTz6K32PiIHcJxIPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEggzst+oMayWa0h8VodLf6LBMEPdI41punZfil8LRUyAiA590mCxDuHsZ2Fn95jJnMQfsDoYU44+7OlBmVca5gHBw=="}]},"_from":".","_npmVersion":"1.3.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.1.0":{"name":"webworkify","version":"0.1.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@0.1.0","dist":{"shasum":"393eca7c6d3d7d556dbe9444527c3f884d92ead3","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-0.1.0.tgz","integrity":"sha512-bG3YX9XvkKfQL3tlPQbzxTHGKdH2TX0DipqId8fv33amhmPD+kgv6ZjNvNbrGpKtSxLOo4ql6BUPSU7TRhY4qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv05sirqS5PF758GODGqu/2O0AWiMT6bB8uA8fntYEHgIgdbU9V0bxfzka4wwldLbcpGxhlnbm4bZScc6VUdcn7uQ="}]},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.1.1":{"name":"webworkify","version":"0.1.1","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"417b249d81e2bb099b341bb4301f2783f8e38c69","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@0.1.1","_shasum":"212576750ef22be380390ef6cab87c04e5fe6fd1","_from":".","_npmVersion":"1.4.25","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"212576750ef22be380390ef6cab87c04e5fe6fd1","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-0.1.1.tgz","integrity":"sha512-hbFCbRR0aQ3qzvYffKhqL2AxSRoebzAy0ql6kOPpETiWULLR9EzOu57CbYSKmNAu4NLvylIUTujoeoJ6KC7c5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/jokx3jeP3LC54CZjj1ohGufAcBZGAX6Qz7q7TUIdPAiEAwQ8GLfCejgnGYbzsDSUkpdcVDxuJ5421GvyslpPOKdM="}]},"directories":{}},"1.0.0":{"name":"webworkify","version":"1.0.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"d3358213b88587db35998b5203c26fbc93caeb1c","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.0.0","_shasum":"f587a833905e5bfb8b1ebb6f264e30ce946c1558","_from":".","_npmVersion":"1.4.25","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"f587a833905e5bfb8b1ebb6f264e30ce946c1558","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.0.0.tgz","integrity":"sha512-gmOwAUQPRaPEUgCE+9Dgq8tfUdbXJ68QN+3RDqMHmo8g01QnCRl86le2dCVhuuXl6ssNo1GRwyAk2ljMatfw1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKm0pDPzNLi/eMRQUZw+nVjjnQoBW8g6hMx4SreVfz1QIhAIgct9SGpaFUKNyj52vo1s9r4Pu7FkzZHDmG/w3UrVvG"}]},"directories":{}},"1.0.1":{"name":"webworkify","version":"1.0.1","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"925e70e85b31c0df5e73cf8ef80c1786e28fa755","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.0.1","_shasum":"2b7ef57c416944c37a71943f60b98c6a159e4afa","_from":".","_npmVersion":"2.1.12","_nodeVersion":"0.10.31","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"2b7ef57c416944c37a71943f60b98c6a159e4afa","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.0.1.tgz","integrity":"sha512-s+oyubu03conSwLZpwiTJNVJL7lSxq++VDsiWodRv8oe3jznwLTawp2DGuI2UHAUYV5l6wIC8tKUxZdN+3+b9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTT8dBXuCX0TRCKeMqwguQyvYM7tPscNPb5rcL64qikAiAwWH8zW4i1IQncQesOja1TvSiE3+MEc6DvFRSAY4TEpQ=="}]},"directories":{}},"1.0.2":{"name":"webworkify","version":"1.0.2","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"4b828353ba8c371829a6312a3c30b1432e922c2c","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.0.2","_shasum":"b616a95a6225249bf25a91e96e0942c665155995","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"b616a95a6225249bf25a91e96e0942c665155995","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.0.2.tgz","integrity":"sha512-gB3Dgc0yeR5heUyamGw5EGERTxfqKvQClKkP1tmCpNThCVa/bkiue2+x6OSPmsoWGUZy+i1CfQenjyKyyfR42g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZHHh/bz0lHJrT66cjMOfMyJkd7hBM/0lUbRX+OUYbmgIhAN1TmBFga9MD1xt6nOufbeFwOdZpkMRpDFJfEOztTfq/"}]},"directories":{}},"1.1.0":{"name":"webworkify","version":"1.1.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"98b949db2974e72ba90d9b604c1ab58c1e3fd2a6","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.1.0","_shasum":"a7f8c53005d2a661c939a8429be0da19bd17ef1f","_from":".","_npmVersion":"3.4.1","_nodeVersion":"4.2.1","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"a7f8c53005d2a661c939a8429be0da19bd17ef1f","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.1.0.tgz","integrity":"sha512-1KaP0Gz/QRWz48Jk283bATYXmuW/UNDaTv8S6an1LzOAexoEpQhaBA4WCv5gzHxotWucNkiF8SFDEOPWMOErVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ1J8PkFQc4rB/nmixTdGOKld0Tgk/JD4hwZDwA8mZ2AIgIrX4ociutMq78RBqPuhzdEiTQ0iXEL8U4lyPGC6jS78="}]},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"1.1.1":{"name":"webworkify","version":"1.1.1","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"09eb8f0d1ca430ddcdf124ebe1e12612e50cc6be","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.1.1","_shasum":"4669c022c67da3a2526649b606cdd64751edacab","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.5.0","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"4669c022c67da3a2526649b606cdd64751edacab","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.1.1.tgz","integrity":"sha512-s+AqSlHQEH/gxbsWj0gLXwkWpc+0qswac35g9cwcajzi5riZ1KZtJDC6OGtKkDUYmw3jprRLg3HQZ6z7MATwpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjMf1Y/+O4gZwHuEiX5AwvKl70wOd0PsKw4LofmJeCNAiAszUBQwzhRsEzGAYwzNHiRgBuyLaA3kRpEAtgSz8oOrA=="}]},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/webworkify-1.1.1.tgz_1463414456597_0.9733570432290435"},"directories":{}},"1.2.0":{"name":"webworkify","version":"1.2.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"97f783e3cf0eb0540209bf04ace0398335c9277b","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.2.0","_shasum":"4cc730c1c8049980f2365e836f553816367b9211","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.5.0","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"4cc730c1c8049980f2365e836f553816367b9211","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.2.0.tgz","integrity":"sha512-/RRR/S5k7NZlfGGbnhtejcdui4piM+OV2HOchBh/LIWTT5MiuB8RYU71YsCYp5rXuAHmMyrc5IkeEjuJPAwF4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvLKVVGs6ZP/LvgwytH39BdaCd+HMhHwrSA2rc5WZ0jAIhAO75COZZBynAHUpdhzL1FHWNEi+5VKy2FQ+azvwkB1L3"}]},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/webworkify-1.2.0.tgz_1463519798250_0.8940270880702883"},"directories":{}},"1.2.1":{"name":"webworkify","version":"1.2.1","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"cfab36c623d033a294178edf666a82163f9e95de","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.2.1","_shasum":"0150ef53456a7a462a9b70467f1323024125a78a","_from":".","_npmVersion":"3.9.0","_nodeVersion":"5.7.1","_npmUser":{"name":"anandthakker","email":"vestibule@anandthakker.net"},"dist":{"shasum":"0150ef53456a7a462a9b70467f1323024125a78a","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.2.1.tgz","integrity":"sha512-iObRHlXaIruNKydKRifyOJmLSOgBH+LXr/RZWXb7ciTZX98l/jhAvmC6PQOLaP7X4oHzE/lfIdD3++vtYfXb2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4Swom9Fq6n9Zg/m2qX3zzCYvR7+oU/XuuclhUDDJf0AIgNBmqWreuk2J1U3AXaTyT/x3cmdtr5x58FeY1scaoBEk="}]},"maintainers":[{"name":"anandthakker","email":"vestibule@anandthakker.net"},{"name":"substack","email":"substack@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/webworkify-1.2.1.tgz_1463521682807_0.87563192169182"},"directories":{}},"1.3.0":{"name":"webworkify","version":"1.3.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"aa591d74805f6cbe0ab2734e2ff7878184cac550","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.3.0","_shasum":"58185dc382f0f0f27fb7d47ff181d9c88a65227c","_from":".","_npmVersion":"3.9.0","_nodeVersion":"5.7.1","_npmUser":{"name":"anandthakker","email":"vestibule@anandthakker.net"},"dist":{"shasum":"58185dc382f0f0f27fb7d47ff181d9c88a65227c","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.3.0.tgz","integrity":"sha512-yOzq51kKfv0NEiKi6AXpudqTJtPZTipJAjv8f1BsibwT+5OqgApsWe1OiHs0PZdmQ96LksSuR6Dz7GgpZ4cYlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVW9thQ8h9aAQoaUTWYsAkZ0FHJBVTnoDGgV+V2iUhxAiBG2z5AGBDNjMnj2MBMaDNcQ7reOv64CKS6qmFVc2La4Q=="}]},"maintainers":[{"name":"anandthakker","email":"vestibule@anandthakker.net"},{"name":"substack","email":"substack@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/webworkify-1.3.0.tgz_1465997050076_0.04521094006486237"},"directories":{}},"1.4.0":{"name":"webworkify","version":"1.4.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"ed584efa99a2ecaf23905b7926e0575e7c7a4761","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.4.0","_shasum":"71245d1e34cacf54e426bd955f8cc6ee12d024c2","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"anandthakker","email":"vestibule@anandthakker.net"},"dist":{"shasum":"71245d1e34cacf54e426bd955f8cc6ee12d024c2","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.4.0.tgz","integrity":"sha512-sUlohrASr7X4au7VkxzNZCD6AY2qciZM84FYoD6J4w79vk1rAV5t4wY0VjvvV/rXLZqLmukLQZtJ6aaL6VlsvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjJDctoshWBgfU+g7P5unaoUwlUZtD+bWtSzN1sSN/9gIhAIZ824hqn398iq4P27oOTtHR9xIjZNalA6wrjkucbsF1"}]},"maintainers":[{"name":"anandthakker","email":"vestibule@anandthakker.net"},{"name":"substack","email":"substack@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/webworkify-1.4.0.tgz_1473261390530_0.0846050304826349"},"directories":{}},"1.5.0":{"name":"webworkify","version":"1.5.0","description":"launch a web worker that can require() in the browser with browserify","main":"index.js","dependencies":{},"devDependencies":{"gamma":"~0.1.0","tape":"~1.0.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"baf2884256768aea6c36be1ea6e1efb2144fcfbc","bugs":{"url":"https://github.com/substack/webworkify/issues"},"_id":"webworkify@1.5.0","_npmVersion":"5.5.1","_nodeVersion":"8.3.0","_npmUser":{"name":"anandthakker","email":"vestibule@anandthakker.net"},"dist":{"integrity":"sha512-AMcUeyXAhbACL8S2hqqdqOLqvJ8ylmIbNwUIqQujRSouf4+eUFaXbG6F1Rbu+srlJMmxQWsiU7mOJi0nMBfM1g==","shasum":"734ad87a774de6ebdd546e1d3e027da5b8f4a42c","tarball":"https://registry.npmjs.org/webworkify/-/webworkify-1.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIYk/rL7hZxL/js7bA6xcQNBPKMm7nRvcvTr7tgCrwtAIhAMiH/vP4t5OC6b5K0OUP+Ih+TgDXly64S6yVcCIPfLxI"}]},"maintainers":[{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"vestibule@anandthakker.net","name":"anandthakker"},{"email":"substack@gmail.com","name":"substack"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webworkify-1.5.0.tgz_1510590639731_0.36480907746590674"},"directories":{}}},"readme":"# webworkify\n\nlaunch a web worker that can require() in the browser with browserify\n\n# example\n\nFirst, a `main.js` file will launch the `worker.js` and print its output:\n\n``` js\nvar work = require('webworkify');\n\nvar w = work(require('./worker.js'));\nw.addEventListener('message', function (ev) {\n    console.log(ev.data);\n});\n\nw.postMessage(4); // send the worker a message\n```\n\nthen `worker.js` can `require()` modules of its own. The worker function lives\ninside of the `module.exports`:\n\n``` js\nvar gamma = require('gamma');\n\nmodule.exports = function (self) {\n    self.addEventListener('message',function (ev){\n        var startNum = parseInt(ev.data); // ev.data=4 from main.js\n        \n        setInterval(function () {\n            var r = startNum / Math.random() - 1;\n            self.postMessage([ startNum, r, gamma(r) ]);\n        }, 500);\n    });\n};\n```\n\nNow after [browserifying](http://browserify.org) this example, the console will\ncontain output from the worker:\n\n```\n[ 4, 0.09162078520553618, 10.421030346237066 ]\n[ 4, 2.026562457360466, 1.011522336481017 ]\n[ 4, 3.1853125018703716, 2.3887589540750214 ]\n[ 4, 5.6989969260510005, 72.40768854476167 ]\n[ 4, 8.679491643020487, 20427.19357947782 ]\n[ 4, 0.8528139834191428, 1.1098187157762498 ]\n[ 4, 8.068322137547542, 5785.928308309402 ]\n...\n```\n\n# methods\n\n``` js\nvar work = require('webworkify')\n```\n\n## var w = work(require(modulePath))\n\nReturn a new\n[web worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker)\nfrom the module at `modulePath`.\n\nThe file at `modulePath` should export its worker code in `module.exports` as a\nfunction that will be run with no arguments.\n\nNote that all the code outside of the `module.exports` function will be run in\nthe main thread too so don't put any computationally intensive code in that\npart. It is necessary for the main code to `require()` the worker code to fetch\nthe module reference and load `modulePath`'s dependency graph into the bundle\noutput.\n\n## Worker.objectURL\n\nThe worker `w` returned by `webworkify` has the property `objectURL` attached.\n`w.objectURL` refers to the Object URL that was used to pass the module's source\nto the worker, and can be cleaned up using `URL.revokeObjectURL()`.  (See [example](https://github.com/substack/webworkify/blob/master/example/main.js))\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install webworkify\n```\n\n# license\n\nMIT\n","maintainers":[{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"vestibule@anandthakker.net","name":"anandthakker"}],"time":{"modified":"2022-11-08T10:41:13.935Z","created":"2013-08-03T05:50:13.418Z","0.0.0":"2013-08-03T05:50:15.295Z","0.1.0":"2013-09-24T05:23:44.585Z","0.1.1":"2014-09-04T07:56:55.085Z","1.0.0":"2014-09-04T07:57:20.582Z","1.0.1":"2014-12-19T02:40:27.449Z","1.0.2":"2015-01-24T06:13:06.649Z","1.1.0":"2015-12-29T19:33:22.567Z","1.1.1":"2016-05-16T16:00:58.669Z","1.2.0":"2016-05-17T21:16:40.572Z","1.2.1":"2016-05-17T21:48:05.466Z","1.3.0":"2016-06-15T13:24:13.557Z","1.4.0":"2016-09-07T15:16:32.281Z","1.5.0":"2017-11-13T16:30:40.657Z"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"repository":{"type":"git","url":"git://github.com/substack/webworkify.git"},"users":{"philippwiddra":true,"hughsk":true,"nickleefly":true,"nanaotakashi":true,"curioussavage":true,"mikkoh":true,"balaclark":true,"realazthat":true,"rbultitude":true,"coot":true,"largepuma":true,"willwolffmyren":true},"homepage":"https://github.com/substack/webworkify","keywords":["web","worker","background","browser","fork"],"bugs":{"url":"https://github.com/substack/webworkify/issues"},"license":"MIT","readmeFilename":"readme.markdown"}