{"_id":"@types/script-ext-html-webpack-plugin","_rev":"3751790","name":"@types/script-ext-html-webpack-plugin","description":"TypeScript definitions for script-ext-html-webpack-plugin","dist-tags":{"latest":"2.1.6","ts2.3":"2.1.1","ts2.4":"2.1.1","ts2.5":"2.1.1","ts2.6":"2.1.1","ts2.7":"2.1.1","ts2.8":"2.1.1","ts2.9":"2.1.1","ts3.0":"2.1.1","ts3.1":"2.1.1","ts3.2":"2.1.1","ts3.3":"2.1.1","ts3.4":"2.1.1","ts3.5":"2.1.1","ts3.6":"2.1.1","ts3.7":"2.1.3","ts3.8":"2.1.3","ts3.9":"2.1.3","ts4.0":"2.1.3","ts4.1":"2.1.3","ts4.2":"2.1.3","ts4.3":"2.1.3","ts4.4":"2.1.3","ts4.5":"2.1.6","ts4.6":"2.1.6","ts4.7":"2.1.6","ts4.8":"2.1.6","ts4.9":"2.1.6","ts5.0":"2.1.6","ts5.1":"2.1.6","ts5.2":"2.1.6","ts5.3":"2.1.6","ts5.4":"2.1.6","ts5.5":"2.1.6","ts5.6":"2.1.6","ts5.7":"2.1.6","ts5.8":"2.1.6","ts5.9":"2.1.6"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-03-04T06:14:12.000Z","created":"2019-01-30T18:54:13.841Z","2.1.6":"2023-11-07T16:04:55.633Z","2.1.5":"2023-10-18T14:22:33.007Z","2.1.4":"2023-09-25T13:56:22.178Z","2.1.3":"2021-07-06T16:46:27.268Z","2.1.2":"2021-03-25T20:45:26.007Z","2.1.1":"2019-07-12T22:02:43.693Z","2.1.0":"2019-01-30T18:54:13.841Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"versions":{"2.1.6":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.6","description":"TypeScript definitions for script-ext-html-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","githubUsername":"davecardwell","url":"https://github.com/davecardwell"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"f7ac7a89b3f3225f172e5a26038550cdc3a3a0f56a3d73b72123a9352ba9b0a3","typeScriptVersion":"4.5","_id":"@types/script-ext-html-webpack-plugin@2.1.6","dist":{"shasum":"83975fb96affd63af2f6fe091ddcc34becdaea4c","size":2133,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.6.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.6_1699373095344_0.023374544790282004"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T16:04:55.633Z","publish_time":1699373095633,"_source_registry_name":"default","_cnpm_publish_time":1699373095633},"2.1.5":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.5","description":"TypeScript definitions for script-ext-html-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","githubUsername":"davecardwell","url":"https://github.com/davecardwell"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"ae68d61c3119f4ae46b9dfc0f8b4f24457a187591596510d459ee7e4b7728872","typeScriptVersion":"4.5","_id":"@types/script-ext-html-webpack-plugin@2.1.5","dist":{"shasum":"e28a56d5d9d3e66b2d92a5058815edfe5895ee4d","size":2136,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.5_1697638952747_0.9716640871527402"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T14:22:33.007Z","publish_time":1697638953007,"_source_registry_name":"default","_cnpm_publish_time":1697638953007},"2.1.4":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.4","description":"TypeScript definitions for script-ext-html-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","url":"https://github.com/davecardwell","githubUsername":"davecardwell"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"8b2068204d2037771e89b5302ba2627e0fe5c08f177c1eb9df5ff9751c1d36f2","typeScriptVersion":"4.5","_id":"@types/script-ext-html-webpack-plugin@2.1.4","dist":{"shasum":"eda5f0fea609e3bc0745a448c86f3d1c5fcc0deb","size":2146,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.4_1695650181989_0.9979196444586049"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-25T13:56:22.178Z","publish_time":1695650182178,"_source_registry_name":"default","_cnpm_publish_time":1695650182178},"2.1.3":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.3","description":"TypeScript definitions for script-ext-html-webpack-plugin","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","url":"https://github.com/davecardwell","githubUsername":"davecardwell"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"e168ac56b49fe92b6791e9335871c1625f95ebbe70662eb38dd5a1d67cca05a0","typeScriptVersion":"3.7","_id":"@types/script-ext-html-webpack-plugin@2.1.3","dist":{"shasum":"9d997e41b7d50d9d2758a83764a3f25c32157b5c","size":2090,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.3_1625589987154_0.7808239914168846"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:19:07.288Z","publish_time":1625589987268,"_cnpm_publish_time":1625589987268},"2.1.2":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.2","description":"TypeScript definitions for script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","url":"https://github.com/davecardwell","githubUsername":"davecardwell"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"^4"},"typesPublisherContentHash":"acb2f544962fe6029d2d53c7ef9df6b0eebfe002f76c3168f853cfcdaf3fd5ce","typeScriptVersion":"3.7","_id":"@types/script-ext-html-webpack-plugin@2.1.2","dist":{"shasum":"511bc8f2ec0a0e1a38b6abe219a86186d59e8c62","size":2059,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.2_1616705125866_0.2591536349671546"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:19:07.196Z","publish_time":1616705126007,"_cnpm_publish_time":1616705126007},"2.1.1":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.1","description":"TypeScript definitions for script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","url":"https://github.com/davecardwell","githubUsername":"davecardwell"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/script-ext-html-webpack-plugin"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"f6f67cd3909af185637b719ad09d2b8ce7b9314c18ca2a5ae1394ddd716510fc","typeScriptVersion":"2.3","_id":"@types/script-ext-html-webpack-plugin@2.1.1","dist":{"shasum":"dd2cf4dd342195a73fabafd4f194c3ab31d38d23","size":2041,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.1_1562968963564_0.7718770914101427"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:19:06.303Z","publish_time":1562968963693,"_cnpm_publish_time":1562968963693},"2.1.0":{"name":"@types/script-ext-html-webpack-plugin","version":"2.1.0","description":"TypeScript definitions for script-ext-html-webpack-plugin","license":"MIT","contributors":[{"name":"Dave Cardwell","url":"https://github.com/davecardwell","githubUsername":"davecardwell"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/webpack":"*"},"typesPublisherContentHash":"ef95299dd7c07f24f56d9ef9cfbac1865a55e30c5c40f609fad6e912b85330cc","typeScriptVersion":"2.3","_id":"@types/script-ext-html-webpack-plugin@2.1.0","dist":{"shasum":"c63bfd4c971deec5ddefb7aacbaf81d85a4cc0de","size":2000,"noattachment":false,"key":"/@types/script-ext-html-webpack-plugin/-/@types/script-ext-html-webpack-plugin-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/script-ext-html-webpack-plugin/download/@types/script-ext-html-webpack-plugin-2.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/script-ext-html-webpack-plugin_2.1.0_1548874453687_0.7564608861992581"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:19:05.455Z","publish_time":1548874453841,"_cnpm_publish_time":1548874453841}},"readme":"# Installation\r\n> `npm install --save @types/script-ext-html-webpack-plugin`\r\n\r\n# Summary\r\nThis package contains type definitions for script-ext-html-webpack-plugin (https://github.com/numical/script-ext-html-webpack-plugin).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin/index.d.ts)\r\n````ts\r\nimport { Compiler, Plugin } from \"webpack\";\n\nexport = ScriptExtHtmlWebpackPlugin;\n\ndeclare class ScriptExtHtmlWebpackPlugin extends Plugin {\n    constructor(options?: ScriptExtHtmlWebpackPlugin.Options);\n\n    apply(compiler: Compiler): void;\n}\n\ntype ScriptMatchingPatternBase =\n    | string\n    | RegExp\n    | ReadonlyArray<string | RegExp>;\n\ninterface ScriptMatchingPatternHash {\n    test: ScriptMatchingPatternBase;\n}\n\ntype ScriptMatchingPattern =\n    | ScriptMatchingPatternBase\n    | ScriptMatchingPatternHash;\n\ntype ScriptMatchingPatternPre =\n    | ScriptMatchingPatternBase\n    | ScriptMatchingPatternHash & {\n        chunks?: \"initial\" | \"async\" | \"all\" | undefined;\n    };\n\ninterface Custom {\n    test: ScriptMatchingPattern;\n    attribute: string;\n    value?: string | undefined;\n}\n\ndeclare namespace ScriptExtHtmlWebpackPlugin {\n    interface Options {\n        /**\n         * scripts that should be inlined in the html (default: `[]`)\n         */\n        inline?: ScriptMatchingPattern | undefined;\n        /**\n         * script names that should have no attribute (default: `[]`)\n         */\n        sync?: ScriptMatchingPattern | undefined;\n        /**\n         * script names that should have an async attribute (default: `[]`)\n         */\n        async?: ScriptMatchingPattern | undefined;\n        /**\n         * script names that should have a defer attribute (default: `[]`)\n         */\n        defer?: ScriptMatchingPattern | undefined;\n        /**\n         * the default attribute to set - 'sync' actually results in no attribute (default: 'sync')\n         */\n        defaultAttribute?: \"sync\" | \"async\" | \"defer\" | undefined;\n        /**\n         * script names that should have a type=\"module\" attribute (default: `[]`)\n         */\n        module?: ScriptMatchingPattern | undefined;\n        /**\n         * scripts that should have accompanying preload resource hints (default: `[]`)\n         */\n        preload?: ScriptMatchingPatternPre | undefined;\n        /**\n         * scripts that should have accompanying prefetch resource hints (default: `[]`)\n         */\n        prefetch?: ScriptMatchingPatternPre | undefined;\n        /**\n         * scripts that should have a custom attribute(s) added, the attribute(s), and the value(s)\n         */\n        custom?: Custom | Custom[] | undefined;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack)\r\n\r\n# Credits\r\nThese definitions were written by [Dave Cardwell](https://github.com/davecardwell).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/script-ext-html-webpack-plugin","license":"MIT"}