{"_id":"browserify-header","_rev":"370274","name":"browserify-header","description":"Browserify Plugin for Adding Header Comment","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"time":{"modified":"2021-07-26T06:58:43.000Z","created":"2014-12-27T14:30:56.070Z","1.1.0":"2021-01-09T09:52:15.426Z","1.0.1":"2019-06-16T08:07:24.520Z","1.0.0":"2018-12-22T17:19:42.563Z","0.9.4":"2018-05-01T12:20:28.889Z","0.9.3":"2018-05-01T12:09:30.947Z","0.9.2":"2015-04-04T19:45:18.260Z","0.9.1":"2015-01-25T11:28:56.400Z","0.9.0":"2014-12-27T14:30:56.070Z"},"users":{},"author":{"name":"Dr. Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"versions":{"1.1.0":{"name":"browserify-header","version":"1.1.0","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"author":{"name":"Dr. Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"4.0.2"},"engines":{"node":">=10.0.0"},"gitHead":"e9553680ebfff52728335830af41654131f98014","_id":"browserify-header@1.1.0","_nodeVersion":"14.15.4","_npmVersion":"7.4.0","dist":{"shasum":"dd37d481fbd6092526489d342a3c165759b55f71","size":2656,"noattachment":false,"key":"/browserify-header/-/browserify-header-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-1.1.0.tgz"},"_npmUser":{"name":"rse","email":"rse@engelschall.com"},"directories":{},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-header_1.1.0_1610185935298_0.8737229828214874"},"_hasShrinkwrap":false,"publish_time":1610185935426,"_cnpm_publish_time":1610185935426},"1.0.1":{"name":"browserify-header","version":"1.0.1","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"author":{"name":"Dr. Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"3.0.1"},"gitHead":"35d9c1c49c730409aa93fba8e721215a55c801ea","_id":"browserify-header@1.0.1","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"dist":{"shasum":"09437c7f6f7662194ca37959a198e83f6e356c67","size":2630,"noattachment":false,"key":"/browserify-header/-/browserify-header-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-1.0.1.tgz"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-header_1.0.1_1560672444376_0.5362586653822126"},"_hasShrinkwrap":false,"publish_time":1560672444520,"_cnpm_publish_time":1560672444520},"1.0.0":{"name":"browserify-header","version":"1.0.0","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"3.0.0"},"gitHead":"7c39b04948e2baf7fd25f8a46b47f98aec5d9648","_id":"browserify-header@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.14.2","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"dist":{"shasum":"f8957ce135944c913b41d0f6397cb04635f2311f","size":2623,"noattachment":false,"key":"/browserify-header/-/browserify-header-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-1.0.0.tgz"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-header_1.0.0_1545499182418_0.3229875412031513"},"_hasShrinkwrap":false,"publish_time":1545499182563,"_cnpm_publish_time":1545499182563},"0.9.4":{"name":"browserify-header","version":"0.9.4","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"2.0.3"},"gitHead":"2999c6a709080bc9814f5db89bc51381c3b88231","_id":"browserify-header@0.9.4","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"dist":{"shasum":"7de7b044c3f8f8b7e6b646b5e1e8d83bc9090c15","size":2625,"noattachment":false,"key":"/browserify-header/-/browserify-header-0.9.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-0.9.4.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-header_0.9.4_1525177228786_0.9315067111781608"},"_hasShrinkwrap":false,"publish_time":1525177228889,"_cnpm_publish_time":1525177228889},"0.9.3":{"name":"browserify-header","version":"0.9.3","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"git+https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"^2.0.3"},"gitHead":"1c8fe02e8695dbfea511f89f4fb3e223fd7d7bf2","_id":"browserify-header@0.9.3","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"dist":{"shasum":"e25edf1f70ebdc9844cd9081905051fc68d2c80c","size":2628,"noattachment":false,"key":"/browserify-header/-/browserify-header-0.9.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-0.9.3.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browserify-header_0.9.3_1525176570854_0.8277092819269805"},"_hasShrinkwrap":false,"publish_time":1525176570947,"_cnpm_publish_time":1525176570947},"0.9.2":{"name":"browserify-header","version":"0.9.2","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"^1.1.1"},"gitHead":"4e84373209bef318e74986a6e42d60829e6d562e","_id":"browserify-header@0.9.2","scripts":{},"_shasum":"958506384a02043c35705d39388cbbaddeb18fe6","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"dist":{"shasum":"958506384a02043c35705d39388cbbaddeb18fe6","size":2722,"noattachment":false,"key":"/browserify-header/-/browserify-header-0.9.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-0.9.2.tgz"},"directories":{},"publish_time":1428176718260,"_cnpm_publish_time":1428176718260,"_hasShrinkwrap":false},"0.9.1":{"name":"browserify-header","version":"0.9.1","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"^1.1.1"},"gitHead":"90b779f0ceb945fd55463ff90ca4bd55d2c9641e","_id":"browserify-header@0.9.1","scripts":{},"_shasum":"110ab43ce149497a00d2730e168837a2b4b8cf62","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"dist":{"shasum":"110ab43ce149497a00d2730e168837a2b4b8cf62","size":2659,"noattachment":false,"key":"/browserify-header/-/browserify-header-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-0.9.1.tgz"},"directories":{},"publish_time":1422185336400,"_cnpm_publish_time":1422185336400,"_hasShrinkwrap":false},"0.9.0":{"name":"browserify-header","version":"0.9.0","description":"Browserify Plugin for Adding Header Comment","keywords":["browserify-plugin","browserify","plugin","header","comment"],"main":"index.js","repository":{"type":"git","url":"https://github.com/rse/browserify-header.git"},"author":{"name":"Ralf S. Engelschall","email":"rse@engelschall.com","url":"http://engelschall.com"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/MIT"}],"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"},"dependencies":{"through2":"^1.1.1"},"gitHead":"fc7f9430971c9591c4a3a43486077bdc2b167c68","_id":"browserify-header@0.9.0","scripts":{},"_shasum":"fed139ed8393c3e16bb716bcd325aa67c3be17f2","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"rse","email":"rse@engelschall.com"},"maintainers":[{"name":"rse","email":"rse@engelschall.com"}],"dist":{"shasum":"fed139ed8393c3e16bb716bcd325aa67c3be17f2","size":2601,"noattachment":false,"key":"/browserify-header/-/browserify-header-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/browserify-header/download/browserify-header-0.9.0.tgz"},"directories":{},"publish_time":1419690656070,"_cnpm_publish_time":1419690656070,"_hasShrinkwrap":false}},"readme":"\nbrowserify-header\n=================\n\n[Browserify](http://browserify.org/) plugin for adding a header comment\nto the output bundle -- usually used to place license information to\nthe top of the generated bundle.\n\n<p/>\n<img src=\"https://nodei.co/npm/browserify-header.png?downloads=true&stars=true\" alt=\"\"/>\n\n<p/>\n<img src=\"https://david-dm.org/rse/browserify-header.png\" alt=\"\"/>\n\nAbout\n-----\n\nWhen creating Browser versions of libraries and applications with the\nhelp of the excellent [Browserify](http://browserify.org/) toolchain,\ncomments are left in the bundle, of course. But if you compress\nthe output bundle (usually with the help of the Browserify plugin\n[minifyify](https://www.npmjs.com/package/minifyify)), then all comments\nwould be stripped away. Then at least a header comment should be left,\nusually holding license information about the bundle.\nThis Browserify plugin [browserify-header](https://www.npmjs.com/package/browserify-header)\nadds the first `/*!...*/` comment (or alternatively just the first `/*...*/` comment at all)\nback to the top of the output bundle. By default the header is extracted\nfrom the first entry file to Browserify, but a separate file can be\nspecified with the plugin option `--file`.\n\nInstallation\n------------\n\n```shell\n$ npm install -g browserify\n$ npm install -g browserify-header\n```\n\nUsage\n-----\n\n#### Shell\n\n```shell\n$ browserify -p [ minifyify --output sample.browser.map ] \\\n             -p browserify-header \\\n             -o sample.browser.js sample.js\n$ browserify -p [ minifyify --output sample.browser.map ] \\\n             -p [ browserify-header --file header.js ] \\\n             -o sample.browser.js sample.js\n```\n\n#### Grunt\n\n```js\nmodule.exports = function (grunt) {\n    grunt.loadNpmTasks(\"grunt-browserify\");\n    grunt.initConfig({\n        browserify: {\n            \"sample\": {\n                files: {\n                    \"sample.browser.js\": [ \"sample.js\" ]\n                },\n                options: {\n                    plugin: [\n                        [ \"minifyify\", { output: \"sample.browser.map\" } ],\n                        [ \"browserify-header\", { file: \"header.js\" } ]\n                    ]\n                }\n            }\n        },\n        [...]\n    });\n    [...]\n};\n```\n\nLicense\n-------\n\nCopyright (c) 2014-2021 Dr. Ralf S. Engelschall (http://engelschall.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","_attachments":{},"homepage":"https://github.com/rse/browserify-header","bugs":{"url":"https://github.com/rse/browserify-header/issues"}}