{"_id":"@types/worker-plugin","_rev":"2804544","name":"@types/worker-plugin","description":"TypeScript definitions for worker-plugin","dist-tags":{"latest":"5.0.1","ts2.8":"3.2.0","ts2.9":"3.2.0","ts3.0":"4.0.0","ts3.1":"4.0.0","ts3.2":"4.0.0","ts3.3":"4.0.0","ts3.4":"4.0.0","ts3.5":"4.0.0","ts3.6":"4.0.0","ts3.7":"5.0.1","ts3.8":"5.0.1","ts3.9":"5.0.1","ts4.0":"5.0.1","ts4.1":"5.0.1","ts4.2":"5.0.1","ts4.3":"5.0.1","ts4.4":"5.0.1","ts4.5":"5.0.1","ts4.6":"5.0.1","ts4.7":"5.0.1","ts4.8":"5.0.1","ts4.9":"5.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:48.000Z","created":"2019-12-27T15:54:16.296Z","5.0.1":"2021-07-02T19:05:22.651Z","5.0.0":"2021-06-03T14:02:49.334Z","4.0.1":"2021-03-25T20:59:16.974Z","4.0.0":"2020-07-07T18:24:31.805Z","3.2.0":"2019-12-27T15:54:16.296Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"versions":{"5.0.1":{"name":"@types/worker-plugin","version":"5.0.1","description":"TypeScript definitions for worker-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/worker-plugin","license":"MIT","contributors":[{"name":"Artur Androsovych","url":"https://github.com/arturovt","githubUsername":"arturovt"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"5e5ff55f4b8d864962acda7e6bff8c52f7222049c8be2bbaa4619852349e4e45","typeScriptVersion":"3.7","_id":"@types/worker-plugin@5.0.1","dist":{"shasum":"32283d528061c373a6aeef4902f7d00d7179dc16","size":2153,"noattachment":false,"key":"/@types/worker-plugin/-/@types/worker-plugin-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/worker-plugin/download/@types/worker-plugin-5.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_5.0.1_1625252722527_0.4013828513579871"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T13:53:36.845Z","publish_time":1625252722651,"_cnpm_publish_time":1625252722651},"5.0.0":{"name":"@types/worker-plugin","version":"5.0.0","description":"TypeScript definitions for worker-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/worker-plugin","license":"MIT","contributors":[{"name":"Artur Androsovych","url":"https://github.com/arturovt","githubUsername":"arturovt"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"c404ba73aac977e323a65fbd2ec006a51ae705755708abf0256cac0665f6927d","typeScriptVersion":"3.7","_id":"@types/worker-plugin@5.0.0","dist":{"shasum":"64145cae0b91fdfb6f76fe4eafce9336fae845f4","size":2142,"noattachment":false,"key":"/@types/worker-plugin/-/@types/worker-plugin-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/worker-plugin/download/@types/worker-plugin-5.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_5.0.0_1622728969221_0.7413049997054966"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T13:53:35.983Z","publish_time":1622728969334,"_cnpm_publish_time":1622728969334},"4.0.1":{"name":"@types/worker-plugin","version":"4.0.1","description":"TypeScript definitions for worker-plugin","license":"MIT","contributors":[{"name":"Artur Androsovych","url":"https://github.com/arturovt","githubUsername":"arturovt"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"63bd8d434f54001842e02967b01f29cbc53972c3c301ad9b32b5056440af2e65","typeScriptVersion":"3.7","_id":"@types/worker-plugin@4.0.1","dist":{"shasum":"737cb6c61de0930c4a984df675ef28ef56f04d78","size":2061,"noattachment":false,"key":"/@types/worker-plugin/-/@types/worker-plugin-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/worker-plugin/download/@types/worker-plugin-4.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.1_1616705956760_0.0038744505094705506"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T13:53:34.334Z","publish_time":1616705956974,"_cnpm_publish_time":1616705956974},"4.0.0":{"name":"@types/worker-plugin","version":"4.0.0","description":"TypeScript definitions for worker-plugin","license":"MIT","contributors":[{"name":"Artur Androsovych","url":"https://github.com/arturovt","githubUsername":"arturovt"},{"name":"Piotr Błażejewicz","url":"https://github.com/peterblazejewicz","githubUsername":"peterblazejewicz"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"aed6cdaf1418c9c232e278bd016408a81285b89cde1d5fc97a65a29aad1de141","typeScriptVersion":"3.0","_id":"@types/worker-plugin@4.0.0","dist":{"shasum":"84fcd2a51327a613eefad17752d3ec6cc46852c3","size":2047,"noattachment":false,"key":"/@types/worker-plugin/-/@types/worker-plugin-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/worker-plugin/download/@types/worker-plugin-4.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_4.0.0_1594146271608_0.22918785149949938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T13:53:32.680Z","publish_time":1594146271805,"_cnpm_publish_time":1594146271805},"3.2.0":{"name":"@types/worker-plugin","version":"3.2.0","description":"TypeScript definitions for worker-plugin","license":"MIT","contributors":[{"name":"Artur Androsovych","url":"https://github.com/arturovt","githubUsername":"arturovt"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/worker-plugin"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"95f6946933c92c3c073bd1c7ecfdc942ca7845835fb292afe9e3ba91b0b5593a","typeScriptVersion":"2.8","_id":"@types/worker-plugin@3.2.0","dist":{"shasum":"18cd6a15f1b26bce329cccf74b5ab213658459dc","size":1668,"noattachment":false,"key":"/@types/worker-plugin/-/@types/worker-plugin-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/worker-plugin/download/@types/worker-plugin-3.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/worker-plugin_3.2.0_1577462056182_0.8248820537579531"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T13:53:31.029Z","publish_time":1577462056296,"_cnpm_publish_time":1577462056296}},"readme":"# Installation\r\n> `npm install --save @types/worker-plugin`\r\n\r\n# Summary\r\nThis package contains type definitions for worker-plugin (https://github.com/GoogleChromeLabs/worker-plugin).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/worker-plugin.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/worker-plugin/index.d.ts)\r\n````ts\r\n// Type definitions for worker-plugin 5.0\n// Project: https://github.com/GoogleChromeLabs/worker-plugin\n// Definitions by: Artur Androsovych <https://github.com/arturovt>\n//                 Piotr Błażejewicz <https://github.com/peterblazejewicz>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 3.7\n\nimport * as webpack from 'webpack';\n\nexport = WorkerPlugin;\n\ndeclare class WorkerPlugin extends webpack.Plugin {\n    constructor(options?: WorkerPlugin.Options);\n}\n\ndeclare namespace WorkerPlugin {\n    interface Options {\n        filename?: string | undefined;\n        chunkFilename?: string | undefined;\n        globalObject?: false | string | undefined;\n        plugins?: Array<string | webpack.Plugin> | undefined;\n        /**\n         * If set to `true`, this option enables the bundling of [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker)\n         */\n        sharedWorker?: boolean | undefined;\n        /**\n         * If set to `false`, this option disables the bundling of [Worker].\n         * Intended to be used with `{ sharedWorker: true }` to allow bundling of [SharedWorker] only without also bundling [Worker].\n         */\n        worker?: boolean | undefined;\n        preserveTypeModule?: boolean | undefined;\n        /**\n         * Normally, WorkerPlugin will transform `new Worker('./a.js', { type: 'module' })`\n         * to completely remove the `type` option, outputting something like `new Worker('a.worker.js')`.\n         * This allows the plugin to compile Module Workers to Classic Workers, which are supported in all browsers.\n         */\n        workerType?: string | undefined;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 02 Jul 2021 18:06:01 GMT\r\n * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Artur Androsovych](https://github.com/arturovt), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/worker-plugin","license":"MIT"}