{"_id":"inject-body-webpack-plugin","_rev":"4-919680112d81d9ba55d0b6df9a06f917","name":"inject-body-webpack-plugin","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"author":{"name":"Jaid","email":"jaid.jsx@gmail.com","url":"https://github.com/Jaid"},"bugs":{"url":"https://github.com/jaid/inject-body-webpack-plugin/issues"},"dependencies":{"@babel/runtime":"^7.8.7","debug":"^4.1.1","html-webpack-plugin":"^3.2.0","insert-string-after":"^1.0.0","insert-string-before":"^1.0.0"},"description":"Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.","homepage":"https://github.com/jaid/inject-body-webpack-plugin#readme","name":"inject-body-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/jaid/inject-body-webpack-plugin.git"},"types":"index.d.ts","version":"1.0.0","_id":"inject-body-webpack-plugin@1.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-PPYpNn02r/lWAXVwXcDY0EkUKd6XhUzs1NzdFxY6eebGmJWsGPsEVAwKqvKf6VeM5KY00/JXZwH337UnhJvImQ==","shasum":"c130b4c39fd23b2b5081a0729be68706d0bbcdd7","tarball":"https://registry.npmjs.org/inject-body-webpack-plugin/-/inject-body-webpack-plugin-1.0.0.tgz","fileCount":5,"unpackedSize":7789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYSvMCRA9TVsSAnZWagAANCAP/3G6V2fyNnZ4hiFEIZJR\nZUZPuk8oHepgHyK9znC+EdSc6jHx1eh2nZHbf+5H+BHvFI2/5V/3Fe131/Eo\nb4MqAga+yg/p9boeXi5lG/5ZLTSUSMogdA0tGKxpYDsMF9DKtXcFQBijZGJr\nLge2rO0OI/OnK7bg+CZTxvrWhVCHLvXVwu4Dgulf7KbRXVwqUw5M8Nq7ZWgF\neNkL77Gel1rGeEOXBsgTTkEhRfZpkP46+4vQFXLfVsK9nDrd61qzya5Uj7Ft\ncuvgdTjLxLpQkPFXAir4UWGDkbQ+kB3m8C+FdlhhoIRSqabhzc5Y89HqvAYZ\n5hjslDVG/zViOQMR5hjNQiAA44wITZezD2qHglnL/AsVBtWgPRdPwtKcrrUS\nxTwt3twOL6HIEXGXYnANvV8AlTJ7r3zDDueDvgzWdUvYAiMFTXv2NWwq9UjV\nOzpg4klvsekAOg1m80daIrdMPIlfGsn9ufLLSHlUCIAeawYQRv+TYZ6rPg7f\n7UbO1t5Z31/VeGrNBMUl0VSjlJbnePPs9oV/IwV8o8VHkmRJsbuEHSO1fFaE\n8v3DkEE9rgwR8bM7+8/Z/mCBTgFNKHWisZWloZHLLfrNPuJidRGB0LzJVvmP\nRTURTMegHQ48sDwbil1cDQSgAgK0rs+J9tH/5nvwM4Lgpz4qKPeQ7ydNZ+XM\ngDxh\r\n=dliO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCywdpXO2+49+T7/t5vH65qwRB9cqUedF7emke+J5wH4AIhAMTFHAiYaI/s+7PZEApYOmSLYVzgPt8dreRi9DjRRDVh"}]},"maintainers":[{"name":"jaid","email":"jaid.jsx@gmail.com"}],"_npmUser":{"name":"jaid","email":"jaid.jsx@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inject-body-webpack-plugin_1.0.0_1583426507867_0.016431669585789566"},"_hasShrinkwrap":false},"1.1.0":{"author":{"name":"Jaid","email":"jaid.jsx@gmail.com","url":"https://github.com/Jaid"},"bugs":{"url":"https://github.com/jaid/inject-body-webpack-plugin/issues"},"dependencies":{"@babel/runtime":"^7.9.2","debug":"^4.1.1","html-webpack-plugin":"^4.0.2","insert-string-after":"^1.0.0","insert-string-before":"^1.0.0"},"description":"Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.","homepage":"https://github.com/jaid/inject-body-webpack-plugin#readme","name":"inject-body-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/jaid/inject-body-webpack-plugin.git"},"types":"index.d.ts","version":"1.1.0","_id":"inject-body-webpack-plugin@1.1.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-8VMY94V6BZwfWesNT0Dn9tCnIqOUYfuAYDz262nH2OrTgSXI47vigcNs6P4DqOhFR8uDg0Qx3spbeVQECbqgYQ==","shasum":"01d9a1d04700b9a4de0506705dedc4f364d1a15f","tarball":"https://registry.npmjs.org/inject-body-webpack-plugin/-/inject-body-webpack-plugin-1.1.0.tgz","fileCount":5,"unpackedSize":7859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefVljCRA9TVsSAnZWagAABY0QAJ5Em0sczKecJmf0Ks+G\nIJqCSG0wnHJdOgV+eKVlsuA0j0DyAv9R3QzRDQB9BU5I03YKR8T0eVoUwzOe\nIbUjK18i1vnILMnoQstkOH4irI4UtHadKXVaZ1yd9wyRia6KIJ85uT+6k8GX\nKO5o9AbjHH+HNd1pgpJ33Po+B9h03/J/ES6qfUXaFIXk+lVU4BTiyJqb+AOJ\nzNstfiMwxDT9H50bWIl7UaZ83gA3KHDmazwHlLOcHMawTMkJbTO2S7qxLdXu\n22rPHvpHD1lMVcoOTrlMXPtIElTjxZQGy2jpNvnIkwP712tFBFPipK1iXvE2\nCR02crhOs/ci5PkeurXdFZo5RR0V1iSMMlkvT8pVR6KFhfgvfscdedhBgK4F\nE3GRHMXba5hcNckhr0O8Z1bSulweIpuPus5hij0aINTz2Cvj6F6r6zJZexIw\n4SnYD5zvv7so78Zt6iFVK0z94z5/JhWRVVnRDp6aA6C6DPMjaPQ6Tg1CqQQo\n1UqNAuGh5efNLhmP/SgOG+j/L4Dv3B7LGysBWp6JKpgV9ZIdU3WsdyQx/2xI\nnAWa3zJcSaJMLc/C/aUQWhDBh3raEaWDNnMrFrx3YMkfbnaLYBIGNLh1PmmL\nSjoM4eOEsV2b3K4eUshfr8N2iuzYrW2FcZw07eyXWUdlhYnpKj256kaWj2Sw\nqSCE\r\n=4H+S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJbvn7uOnRVw9Z6Yvjb5tDdMCggSghSV7C3GMFhgfIlAiBy9B75xdw3bRnkk5AX2BHuM8/aA51v3nYv1g0H2XFL3A=="}]},"maintainers":[{"name":"jaid","email":"jaid.jsx@gmail.com"}],"_npmUser":{"name":"jaid","email":"jaid.jsx@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inject-body-webpack-plugin_1.1.0_1585273186421_0.5339251282159341"},"_hasShrinkwrap":false},"1.2.0":{"author":{"name":"Jaid","email":"jaid.jsx@gmail.com","url":"https://github.com/Jaid"},"bugs":{"url":"https://github.com/jaid/inject-body-webpack-plugin/issues"},"dependencies":{"debug":"^4.3.1","insert-string-after":"^1.0.0","insert-string-before":"^1.0.0"},"description":"Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.","homepage":"https://github.com/Jaid/inject-body-webpack-plugin","keywords":["add-on","addon","html","html-webpack-plugin","html-webpack-plugin-plugin","library","node","node-js","plugin","webpack","webpack-plugin"],"name":"inject-body-webpack-plugin","peerDependencies":{"html-webpack-plugin":"^5.3.1"},"repository":{"type":"git","url":"git+https://github.com/jaid/inject-body-webpack-plugin.git"},"types":"index.d.ts","version":"1.2.0","_id":"inject-body-webpack-plugin@1.2.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-2hiizK7NAXm3NIawc2SxPZynEo6VUxyXavVWrX8r2kKnYlIrZMzEanQTxVEInUKioDdrPEpjc/s5bFK+mBR10g==","shasum":"21419aad3c6fde59937a4cdeee9179350384ffaf","tarball":"https://registry.npmjs.org/inject-body-webpack-plugin/-/inject-body-webpack-plugin-1.2.0.tgz","fileCount":6,"unpackedSize":12895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzhpHCRA9TVsSAnZWagAAx9YP/RGND3g6XjcDxVqvugc7\nH5hPgysp/qSqvZZhLOOFhcgV7L6Q9Q/W9mcuVxht/nHRLYEjwS7NCv0MAZfN\ngkB4GxF5nCG7lEkMkfHJFWW8YGkmweG3B2MSiZb7VG4WkVobuoiqUPx+kuf0\nW2+lJSD3mfudansvG3N2ZIKdof+jQhvJKd5OBcyI21JtooQ2PEmH3QdZV1si\nExnjRdtyp9LGNoDs000HnfezqkBlYSF1NU4L8OnEzRBX/FL6PTMU7krWAfWv\n90TcHC8FyDX56fyTLT/uBSCWlbMv0c8UtDTHZ5AJu4OAluKKPV1JusyPVDIA\nCFCzVuogMR7kmZdvrjwkMnN7enFNVTmJE0O9Wx5M5UK9Uz5Uvnwc6zre3AH0\nq5T+ennCPcpqAggqn9T7FWmeumP2CEyk0avDo4CjAf1Pr9yK2jbbGBQ5tHqJ\nHP594lMddOlmrKC8gSOXgdZx4ifVtjRfbXsxuti4qZgTA5GaG4zER4l1zwl5\naICFl13dGAQRx5Bu1Dr5yNhdASzEAAha6/TwRRC+3LDQ4izAtvfHfo+kjkaX\npnpoGwkGb5hQvcw2aI+xR6jf7Ot2bs434o6+3kwultyoPqSEMboI5klG9Zpq\njFrkqIfLh3DjazXbUR4Kb6kNbGN6q4xxvyEB38sVklflVlMPSxcPwb3fbwWA\nPBt3\r\n=TXv/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2Cu5lu0StGiURq46j3DULNGmKIYlWNummgWgZqB2s9AiEA4/A5afl/Z743br6FrgP+0h0NSVOxjRlZuRgrbKudZNs="}]},"_npmUser":{"name":"jaid","email":"jaid.jsx@gmail.com"},"directories":{},"maintainers":[{"name":"jaid","email":"jaid.jsx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inject-body-webpack-plugin_1.2.0_1624119879107_0.5835796020720645"},"_hasShrinkwrap":false},"1.3.0":{"author":{"name":"Jaid","email":"jaid.jsx@gmail.com","url":"https://github.com/Jaid"},"bugs":{"url":"https://github.com/jaid/inject-body-webpack-plugin/issues"},"dependencies":{"debug":"^4.3.1","insert-string-after":"^1.0.0","insert-string-before":"^1.0.0"},"description":"Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.","homepage":"https://github.com/Jaid/inject-body-webpack-plugin","keywords":["add-on","addon","html","html-webpack-plugin","html-webpack-plugin-plugin","library","node","node-js","plugin","webpack","webpack-plugin"],"name":"inject-body-webpack-plugin","peerDependencies":{"html-webpack-plugin":"^5.3.1"},"repository":{"type":"git","url":"git+https://github.com/jaid/inject-body-webpack-plugin.git"},"types":"index.d.ts","version":"1.3.0","_id":"inject-body-webpack-plugin@1.3.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-P2H7b52je3jKVcJ8Gw2MjqccGo0QutEjoXoB3XRKbSgsqOv3NgTypqoUm5D8oEz90vx5AIgW9Bk+hJxzEoGvMg==","shasum":"e29fee59c81f0170d01191d197fda375a5c4cf12","tarball":"https://registry.npmjs.org/inject-body-webpack-plugin/-/inject-body-webpack-plugin-1.3.0.tgz","fileCount":6,"unpackedSize":13816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgziRrCRA9TVsSAnZWagAARGUP/09+8sOgo9Up3ZrKr8bU\n+tu7dxRkY5nVBxhM2FNaXZVdCjG5NK6OkVfo/ctNhk0cQdSK42dl7xgBpylY\nV6i48z8JwBVEUsaVzljAqdjdZ9zkwpLg7jXobCcmCnOuEdwlgy6A2F01qccC\n377dC3GKgWkcnQws3sPmsQ45bDvi3YTPw2UZUmHLr0yfAdNQJGvUHmIJjoGi\nA+WYOAmxbcYG8TIvq2WEiSW4PKNj8QRjx7uTyGj0uqJub2solMGggYgl7CW4\n2hjW46N0AfpktgrT6q2LwHA4MGjL+XA2F2RZPWWyd4eaHC/i58m0xn/RUlkn\nV3Grls2uscOs7LvY/v7FjQQZiLRrV7vyZc4E7tU55Btv828v0QEhLE/LNDPR\nk9A2jA7qNGSr5SvnD8aHviZxLVFdHJRLChK0K7RR6mqMnVyfki12WDsDbred\n4CqwvppnH4EGZt+DIWEPGjlUCI1SQYbFzj68P3q8/qQmDPIbMSpR594m4V0h\n7hFEFL5TRiCcBTwpPAKT/i8+mG3jrsT/JSUyKF0RpIDFOxQnedaMCR22qcgr\n5j3v9wtStGXaIIEIgOE8RBZ7HiJDPIF8l+H4y2hAds3UkRzZHM1fI9h7lqUO\nFszw4Diw4MVcNGNJnjD+HAk7gnd+JXjg3rd2/KlnQVwdwWDRf+tgsXRrbAaE\nPver\r\n=4VeT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGJzbOzqu9BSmPDig5MbFFbJZLFFjKXIk6OjZvjAhqWAiEAlV5bvlBoml71gekuoApv1+vkIl2x1UP03D7WfoEP4Z4="}]},"_npmUser":{"name":"jaid","email":"jaid.jsx@gmail.com"},"directories":{},"maintainers":[{"name":"jaid","email":"jaid.jsx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inject-body-webpack-plugin_1.3.0_1624122474993_0.6753533977503894"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-05T16:41:47.867Z","1.0.0":"2020-03-05T16:41:48.080Z","modified":"2022-05-05T22:36:00.973Z","1.1.0":"2020-03-27T01:39:46.603Z","1.2.0":"2021-06-19T16:24:39.233Z","1.3.0":"2021-06-19T17:07:55.151Z"},"maintainers":[{"name":"jaid","email":"jaid.jsx@gmail.com"}],"description":"Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.","homepage":"https://github.com/Jaid/inject-body-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/jaid/inject-body-webpack-plugin.git"},"author":{"name":"Jaid","email":"jaid.jsx@gmail.com","url":"https://github.com/Jaid"},"bugs":{"url":"https://github.com/jaid/inject-body-webpack-plugin/issues"},"readme":"# inject-body-webpack-plugin\n\n\n<a href=\"https://raw.githubusercontent.com/jaid/inject-body-webpack-plugin/master/license.txt\"><img src=\"https://img.shields.io/github/license/jaid/inject-body-webpack-plugin?style=flat-square\" alt=\"License\"/></a> <a href=\"https://github.com/sponsors/jaid\"><img src=\"https://img.shields.io/badge/<3-Sponsor-FF45F1?style=flat-square\" alt=\"Sponsor inject-body-webpack-plugin\"/></a>  \n<a href=\"https://actions-badge.atrox.dev/jaid/inject-body-webpack-plugin/goto\"><img src=\"https://img.shields.io/endpoint.svg?style=flat-square&url=https%3A%2F%2Factions-badge.atrox.dev%2Fjaid%2Finject-body-webpack-plugin%2Fbadge\" alt=\"Build status\"/></a> <a href=\"https://github.com/jaid/inject-body-webpack-plugin/commits\"><img src=\"https://img.shields.io/github/commits-since/jaid/inject-body-webpack-plugin/v1.3.0?style=flat-square&logo=github\" alt=\"Commits since v1.3.0\"/></a> <a href=\"https://github.com/jaid/inject-body-webpack-plugin/commits\"><img src=\"https://img.shields.io/github/last-commit/jaid/inject-body-webpack-plugin?style=flat-square&logo=github\" alt=\"Last commit\"/></a> <a href=\"https://github.com/jaid/inject-body-webpack-plugin/issues\"><img src=\"https://img.shields.io/github/issues/jaid/inject-body-webpack-plugin?style=flat-square&logo=github\" alt=\"Issues\"/></a>  \n<a href=\"https://npmjs.com/package/inject-body-webpack-plugin\"><img src=\"https://img.shields.io/npm/v/inject-body-webpack-plugin?style=flat-square&logo=npm&label=latest%20version\" alt=\"Latest version on npm\"/></a> <a href=\"https://github.com/jaid/inject-body-webpack-plugin/network/dependents\"><img src=\"https://img.shields.io/librariesio/dependents/npm/inject-body-webpack-plugin?style=flat-square&logo=npm\" alt=\"Dependents\"/></a> <a href=\"https://npmjs.com/package/inject-body-webpack-plugin\"><img src=\"https://img.shields.io/npm/dm/inject-body-webpack-plugin?style=flat-square&logo=npm\" alt=\"Downloads\"/></a>\n\n**Webpack plugin that injects a custom string into the body of the html-webpack-plugin output.**\n\n\n\n\n\n## Installation\n\n<a href=\"https://npmjs.com/package/inject-body-webpack-plugin\"><img src=\"https://img.shields.io/badge/npm-inject--body--webpack--plugin-C23039?style=flat-square&logo=npm\" alt=\"inject-body-webpack-plugin on npm\"/></a>\n\n```bash\nnpm install --save-dev inject-body-webpack-plugin@^1.3.0\n```\n\n<a href=\"https://yarnpkg.com/package/inject-body-webpack-plugin\"><img src=\"https://img.shields.io/badge/Yarn-inject--body--webpack--plugin-2F8CB7?style=flat-square&logo=yarn&logoColor=white\" alt=\"inject-body-webpack-plugin on Yarn\"/></a>\n\n```bash\nyarn add --dev inject-body-webpack-plugin@^1.3.0\n```\n\n\n\n## Example\n\n#### Input\n\nwebpack.config.babel.js\n```js\nimport HtmlWebpackPlugin from \"html-webpack-plugin\"\nimport InjectBodyPlugin from \"inject-body-webpack-plugin\"\n\nexport default {\n  plugins: [\n    new HtmlWebpackPlugin({\n      templateContent: \"<html><body></body></html>\"\n    }),\n    new InjectBodyPlugin({\n      content: '<main id=root>Hi!</main>'\n    }),\n  ],\n}\n```\n\n#### Output\n\nindex.html\n```html\n<html><body><main id=root>Hi!</main></body></html>\n```\n\n\n\n\n\n\n\n## Options\n\n\n\n<table>\n<tr>\n<th></th>\n<th>Type</th>\n<th>Default</th>\n<th>Info</th>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>&lt;div id=root/></td>\n<td>The text that will be inject into the final HTML output.</td>\n</tr>\n<tr>\n<td>position</td>\n<td>string</td>\n<td>start</td>\n<td>If “start”, the content will be injected as close to the body opening tag as possible. If “end”, the content will be injected as close to the body ending tag as possible.</td>\n</tr>\n</table>\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Development\n\n<details>\n<summary><b>Development hints for maintaining and improving inject-body-webpack-plugin</b></summary>\n\n\n\nSetting up:\n```bash\ngit clone git@github.com:jaid/inject-body-webpack-plugin.git\ncd inject-body-webpack-plugin\nnpm install\n```\nTesting in production environment:\n```bash\nnpm run test\n```\n\n</details>\n\n## License\n[MIT License](https://raw.githubusercontent.com/jaid/inject-body-webpack-plugin/master/license.txt)  \nCopyright © 2021, Jaid \\<jaid.jsx@gmail.com> (https://github.com/jaid)\n\n<!---\nReadme generated with tldw v7.1.0\nhttps://github.com/Jaid/tldw\n-->","readmeFilename":"readme.md","keywords":["add-on","addon","html","html-webpack-plugin","html-webpack-plugin-plugin","library","node","node-js","plugin","webpack","webpack-plugin"]}