{"_id":"@bndynet/header-injection-webpack-plugin","_rev":"3-47235ed973b2b16b8411a1df5ee34fa7","name":"@bndynet/header-injection-webpack-plugin","dist-tags":{"latest":"4.0.2"},"versions":{"4.0.0":{"name":"@bndynet/header-injection-webpack-plugin","version":"4.0.0","description":"Webpack plugin for injecting header to text files, like copyright...","main":"index.js","scripts":{"start":"cd test && npm start","build":"cd test && npm run build","lint":"eslint ./index.js"},"repository":{"type":"git","url":"git+https://github.com/bndynet/header-injection-webpack-plugin.git"},"keywords":["webpack","plugin","header","comment","copyright"],"author":{"name":"Bendy Zhang"},"license":"MIT","bugs":{"url":"https://github.com/bndynet/header-injection-webpack-plugin/issues"},"homepage":"https://github.com/bndynet/header-injection-webpack-plugin#readme","devDependencies":{"clean-webpack-plugin":"^1.0.0","copy-webpack-plugin":"^4.6.0","css-loader":"^1.0.1","eslint":"^5.9.0","html-webpack-plugin":"^3.2.0","node-sass":"^4.10.0","sass-loader":"^7.1.0","style-loader":"^0.23.1","webpack":"^4.27.1","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.10"},"gitHead":"9c682563bdcdb0a61b501e4832bb4dc1947f127b","_id":"@bndynet/header-injection-webpack-plugin@4.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"bndy","email":"zb@bndy.net"},"dist":{"integrity":"sha512-HlXmqBbEatqHTBZvQh7hOsv1dJDG/DMUnNYobHoEuuAjgrCrBIZGbg6Ka6Afc8UdqYCcSZ4pFBhhpDY3vJPNYA==","shasum":"fad0d265cc97e191a955dac6210928db65d227ed","tarball":"https://registry.npmjs.org/@bndynet/header-injection-webpack-plugin/-/header-injection-webpack-plugin-4.0.0.tgz","fileCount":3,"unpackedSize":5136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCkcOCRA9TVsSAnZWagAA1h4P/jeMP2Cx2tn6NZBVdFwZ\nvDxjnUP///+U0sAnenIIWk+wi34YNnVSXpbOkRq1sVzB64RR37NiC/IgQlvB\nat6IRmJNihA/w6jXCJTIC2UmjY8zHYKl14KY76reO1e3ST60XxWAIMDb/ESG\nK1Mke3TilJn9B2kDWWayRVP3JfhXNdKrHBLh8tjaGCrDaL1z4Fq9zv+8wTIJ\nf7cY9aXhWDHXEGVbOMbslYyMgOvjbE5tLyqDAY6IPlluGTJkT2OEAi1wUqF3\nSXG1RlANN8P1WsvFOZ/mQJQHksLCvnU7KcuZwhGyNr/d0pcp8xgYEM4Crqmw\nNtJcXMWRnNoXbsJnRBCHP1KijpbNZKAzQThhlkkVl6rBOP8rrh5Fs5YkX2Z7\nEePjOl+gDMoKQso3Hff83BMn8Sgk13t3jbkMEolF4MoodUl+vi4l2JhAjtSX\n3w9F3JSc/61ebk3vUuYihgiE/BSdibqblgQ/WvA4LEgfgA4oZvBgmUWLg1OD\n8RWv4JUuYhxtWGrepi8KdFMHuqRsGOqfUbE97ALJgNLlPzk0kKqrBmqoAEnF\nWkvhlO1jVwse25oYLGvoCe2mT5U3Eh2N8A6sTf6GA2FYkqVN6to6y+thgdXo\nl/WpVJpF3MuCYBgZynk2VFDsW8ZEzgl2xlUvnJEhaXCd5JKrk48BbP/YWnaC\nNqZF\r\n=++4d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoNK18oW2X74eR0UaUlYYmf7H9Vn3xeSoxhmQ5IJAdlAiAzrCW4Wc0a9IZZwddlj/9Ut8A1I7u3c+CnJTiLps/fog=="}]},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/header-injection-webpack-plugin_4.0.0_1544177421832_0.7675655736419937"},"_hasShrinkwrap":false},"4.0.1":{"name":"@bndynet/header-injection-webpack-plugin","version":"4.0.1","description":"Webpack plugin for injecting header to text files, like copyright...","main":"index.js","scripts":{"start":"cd test && npm start","build":"cd test && npm run build","lint":"eslint ./index.js"},"repository":{"type":"git","url":"git+https://github.com/bndynet/header-injection-webpack-plugin.git"},"keywords":["webpack","plugin","header","comment","copyright"],"author":{"name":"Bendy Zhang"},"license":"MIT","bugs":{"url":"https://github.com/bndynet/header-injection-webpack-plugin/issues"},"homepage":"https://github.com/bndynet/header-injection-webpack-plugin#readme","devDependencies":{"clean-webpack-plugin":"^1.0.0","copy-webpack-plugin":"^4.6.0","css-loader":"^1.0.1","eslint":"^5.9.0","html-webpack-plugin":"^3.2.0","node-sass":"^4.10.0","sass-loader":"^7.1.0","style-loader":"^0.23.1","webpack":"^4.27.1","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.10"},"gitHead":"9c682563bdcdb0a61b501e4832bb4dc1947f127b","_id":"@bndynet/header-injection-webpack-plugin@4.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"bndy","email":"zb@bndy.net"},"dist":{"integrity":"sha512-PZoIWnIJght3xBn+EXyvEg5tGLzk1At4mgOunHtBbmxIgGiM1/2+I8XuDcPQ1bsLC9ciGREjBfIpuRSe5Umuxw==","shasum":"9dafd680ed2dd8778408dd6173483a3c4e43a98f","tarball":"https://registry.npmjs.org/@bndynet/header-injection-webpack-plugin/-/header-injection-webpack-plugin-4.0.1.tgz","fileCount":3,"unpackedSize":5235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCksgCRA9TVsSAnZWagAAZg4P/Rm6CSLxmUAjb8ynL+wU\nP6d3uigXHVXJqUkt77N8Em+QtRYGve4p5XJULvrEDK18Sxi6BX6gvwN+jTPA\nwvFfFii3jL0SkS96qdgP5zrRwzInQqmY4qucQFvjVXxOXHlXgzuyG2FInEAp\nzQBPqZG9lTQLW0qyXZMj3LtdikhVaagvM/u6LYxJ1uq3+sEt6Ukl7MgyTbnz\n7GhP5oSFtCOsrWCEldtSy4FrRaIbx+SwsXMRZLTEj8seiCT7oD5uadD6w+qF\nc3VXgTM3a8B4x49asf41CT/AbxeEc+5Z3kzJmUvIVzdLCNc0aRA+TnPAukUs\nomjc74PPfpXbvMnYr9gUUvbhvhui+XmESwZsnR8r+qa70GXQLfg6c8hSn4X6\nmNXqQzTeU/u7GrWp00qm01suvFprSF6oeRjbwAg5bq1Wj3NN3Di7GNQNScfI\nDbUTjKa3yVfLoahnKVBWdoRWzYObm8yxwC7cL1jDQLRJ5jA8w+Bcj+VtkQr1\ndT5LG2X97I0rz3tYM+1yS2z/xYZp30pDVGb/3gP2eVhWcKHpQlX2DjBFLLoj\npb+l3q1uD5Jf4KBPrnD+OyE30+RRzrdFAExaUZXb+q9IvjIE2bL67ejx1wlA\nMZ5IEGc/vLIB/IrAcq3+4hw/+GZsq1dfYOnQsxG17a+TG3II7LM0NpMTwjMO\ngD2Q\r\n=8xxx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN4Ojq8FCwavBwp7sJ+mVEU6LwfaWbwXshWxo25bGd3gIgNIhSSrVl9bDm0/qWuknKJz+qmJtdRfvGvlW7AODp8sQ="}]},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/header-injection-webpack-plugin_4.0.1_1544178464001_0.969685021552968"},"_hasShrinkwrap":false},"4.0.2":{"name":"@bndynet/header-injection-webpack-plugin","version":"4.0.2","description":"Webpack plugin for injecting header to text files, like copyright...","main":"index.js","scripts":{"start":"cd test && npm start","build":"cd test && npm run build","lint":"eslint ./index.js"},"repository":{"type":"git","url":"git+https://github.com/bndynet/header-injection-webpack-plugin.git"},"keywords":["webpack 4","webpack plugin","header","comment","copyright"],"author":{"name":"Bendy Zhang"},"license":"MIT","bugs":{"url":"https://github.com/bndynet/header-injection-webpack-plugin/issues"},"homepage":"https://github.com/bndynet/header-injection-webpack-plugin#readme","devDependencies":{"clean-webpack-plugin":"^1.0.0","copy-webpack-plugin":"^4.6.0","css-loader":"^1.0.1","eslint":"^5.9.0","html-webpack-plugin":"^3.2.0","node-sass":"^4.10.0","sass-loader":"^7.1.0","style-loader":"^0.23.1","webpack":"^4.27.1","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.10"},"dependencies":{"webpack-log":"^2.0.0"},"gitHead":"8b771e95b0a72b8d2dcf1edc8fb5f513d214da5a","_id":"@bndynet/header-injection-webpack-plugin@4.0.2","_npmVersion":"6.1.0","_nodeVersion":"8.6.0","_npmUser":{"name":"bndy","email":"zb@bndy.net"},"dist":{"integrity":"sha512-cYN+ASKdG8MJLnwW6lZOdBehxVgjSe2JxRLyO21BIbPlbY/A2oDaIymUb8cWXNpd4Ge+5awbQsDaFIsgv+iNcg==","shasum":"4d2095159d2a2dac8a50f6815d58f3438e747cf6","tarball":"https://registry.npmjs.org/@bndynet/header-injection-webpack-plugin/-/header-injection-webpack-plugin-4.0.2.tgz","fileCount":3,"unpackedSize":5298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDkNbCRA9TVsSAnZWagAAtycQAIWpH1l7a5doHDwW+5E4\n4i6evIjpmC6zjOjWPdnsaOcyiPWuqlOrEDp5NHgd+Zq8EsgqB5Owe8pBNfmt\nen9GXCDucXUL4Vly+lV9pIW9uYR/yb/4kNcwW/+poXf2D2JIDkAdtxowoqbW\nsNSaxyx7Q95WIWl2CSzbi2JMln2Hy2Iamgjmm8kBGw9jDYsORcePWYz34uaC\nCnNhPrbIQmD20ZyoBhuweQjfBm3Ss2TMfW4213wpN3qkykcPiAduEB9NgTlg\nYkWIyQnCY3byPb1yIT5ufNKilc54KuuYRjGGhJ0pUSJvdUmUFWmH3Vrsf8WM\n0V8tc4lebO+3sEKCjipzNGyKVn+TW/QAY+Dc/1Cmy7UIfJIuyhReyd0UGsbP\n0+AnAAyBeWNWGOO31NTSh7M9zrHPHlVwqaBHzHG8U/25GEwntr5h7Pm5uKjs\np+1eifzA72G0AQziq7ACdfjMZjKnteVykpD4lWjhx0u8ceqQ6GZoOkmeBw1l\nfOLx56JABLNU9Dvlvwg4tdDShgO10YXCwIbifm4FprstZQGsQnzWtqh71Q4u\nZ9YN64N38mHScI7dUulRO6bXZ1sJQcYNX7yDdBJdlWO9sKC21aDlWAzV0XFO\nCLwlIlCttMR5JZkeL2f/o+Yfa/g/c3QDtO06JU3DOREvvD/uMfA/Qf7gRqMo\n/oFb\r\n=AV00\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMGN1m8NBliv+CjkEW6PK4EPph8UaT5Dy9HHyoCkhwQAIhANh3z88qNuslOTpFqwH/lZxjMfzJHECpHLLJxq6czak6"}]},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/header-injection-webpack-plugin_4.0.2_1544438618500_0.009265447162101648"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-07T10:10:21.696Z","4.0.0":"2018-12-07T10:10:21.962Z","modified":"2022-04-04T19:53:35.119Z","4.0.1":"2018-12-07T10:27:44.139Z","4.0.2":"2018-12-10T10:43:38.600Z"},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"description":"Webpack plugin for injecting header to text files, like copyright...","homepage":"https://github.com/bndynet/header-injection-webpack-plugin#readme","keywords":["webpack 4","webpack plugin","header","comment","copyright"],"repository":{"type":"git","url":"git+https://github.com/bndynet/header-injection-webpack-plugin.git"},"author":{"name":"Bendy Zhang"},"bugs":{"url":"https://github.com/bndynet/header-injection-webpack-plugin/issues"},"license":"MIT","readme":"# header-injection-webpack-plugin (Webpack 4.x)\n\nA webpack plugin to inject header you specified into text files(js, css, html).\n\n## Installation\n\n```bash\nnpm i @bndynet/header-injection-webpack-plugin --save-dev\n```\n\n## Usage\n\n```javascript\nconst HeaderInjectionWebpackPlugin = require('@bndynet/header-injection-webpack-plugin');\n\n// webpack config\n{\n  plugins: [\n    new HeaderInjectionWebpackPlugin()\n  ]\n}\n```\n\n## Options defalut value\n\n```javascript\n{\n    package: './package.json',\n    extensions: ['.js', '.css', '.html'],\n    header: 'By default, includes name, version in your package.json and built time',  \n}\n```\n\n**Example**:\n\n```javascript\nconst HeaderInjectionWebpackPlugin = require('@bndynet/header-injection-webpack-plugin');\nconst app = require('./package.json');\n\nnew HeaderInjectionWebpackPlugin({\n    header: `${app.name} v${app.version} by ${app.author}`\n})\n```\n\n**Console Log**:\n\n```bash\nℹ ｢hiw｣: Injecting header for .html,.css,.js files ...\nℹ ｢hiw｣: Injecting header for main.79aa05215e152932a87d.js: /*! [hiw] header-injection-webpack-plugin / 1.0.0 / 2018-12-02T09:18:53.917Z */\nℹ ｢hiw｣: Injecting header for index.html: <!-- [hiw] header-injection-webpack-plugin / 1.0.0 / 2018-12-02T09:18:53.917Z -->\nℹ ｢hiw｣: 2 file(s) done\n```","readmeFilename":"README.md"}