{"_id":"rollup-plugin-banner","_rev":"4-a2a60162f79b22b2b5df49ffe72e2bb7","name":"rollup-plugin-banner","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0-rc":{"name":"rollup-plugin-banner","version":"0.1.0-rc","description":"<!-- [![Build Status](https://travis-ci.org/yingye/postcss-px2units.svg?branch=master)](https://travis-ci.org/yingye/postcss-px2units) [![npm version](https://badge.fury.io/js/postcss-px2units.svg)](https://badge.fury.io/js/postcss-px2units) --> [![change","main":"dist/index.js","scripts":{"build":"gulp","test":"mocha test/index"},"repository":{"type":"git","url":"git+https://github.com/yingye/rollup-plugin-banner.git"},"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/rollup-plugin-banner/issues"},"homepage":"https://github.com/yingye/rollup-plugin-banner#readme","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0.1","chai":"^4.2.0","del":"^3.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","gulp":"^3.9.1","gulp-babel":"8.0.0","gulp-eslint":"^5.0.0","mocha":"^5.2.0","rollup":"^0.67.1"},"dependencies":{"lodash.template":"^4.4.0"},"gitHead":"470737363ddcc90b3254d23cbaccbb455d8fc56c","_id":"rollup-plugin-banner@0.1.0-rc","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-4D4nMKbGGyJ6CSBn0FO55hgurXqOAWjPmN5+osHhLklXEE37n3XDwiKQBK0iK2JMiotiwl1dXnGfbZQmVLlUlQ==","shasum":"f1c07f2f63a4a216bcfedf68f0c9eb25c4f886a0","tarball":"https://registry.npmjs.org/rollup-plugin-banner/-/rollup-plugin-banner-0.1.0-rc.tgz","fileCount":9,"unpackedSize":7702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7UwnCRA9TVsSAnZWagAA2N8P/iNz0Pg55vEYzDBD8319\nxSBveeolmr0AeaqP3Zv/MxlcXpd4B3Ai3fsxG7HqZdZ2S5QJvVR985IwIml6\n4nNm+hz/CPt/1g6PbclXQrd5s7RR0nYS+JpaQC/s4w6oCWD5viOP7+DgwkzC\nDqEtszBx+X4nCX3M3uiHO8UvUDJ5iwjqMl81TjsCKW1YEGt8ArNRbztY7ixM\no98Tu6mv7VyV1ulzSKyWxkVSbbxukekipdpQEPRzFzrqHdO009dUY7Z08hUG\nZGQ7DfKrPAW6amwwSSjrHsbRfLH/ARWO7KdPpNA4ADoEIu1Td6uIZ5e3M1xL\nLmxx/WZnkNv22rKKyMqVMiwXc1d8muESvwb6i9d03C5lUzC6rsDi0FvY5yso\nGE/z7e3CApR4M0UXGvjgmuMIiVOwkSlCnTJuFx2J0XWDFBh9lG49nJBJyAGE\nYrXdYj9UInWecPzewRFTY4ZNmeC9T1VD102wHouyBN5yfyy/hit+OlRJ+5Jx\n1GjQ07D6t4DhseDSQI4TBzVi2sdDFLZci3WYi3Ked08hBmiQRittM0z4h8gC\nNA8l4Wr4OTzYiowJ1hdmaJG6zJkMPBTPMNMZxn4x8QwdhyGX0S1ATj/KBWNb\nuqcvV7wG6Dvq0b8QxpRMYEBww5sqbi/RajfJAza2XlAsZHWEzBr84dIlzJpf\nDLxa\r\n=VJwH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB8H5iFmEGDx/HsmhdS2a/q5nwpR3PV1z7sE+4TpI3PwIhAOYCMl5to5t3qjqYQ20K7Thk2yxQZgwvdTclSQ7+hMRI"}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-banner_0.1.0-rc_1542278183061_0.08829734570420333"},"_hasShrinkwrap":false},"0.1.0":{"name":"rollup-plugin-banner","version":"0.1.0","description":"[![Build Status](https://travis-ci.org/yingye/rollup-plugin-banner.svg?branch=master)](https://travis-ci.org/yingye/rollup-plugin-banner) [![npm version](https://badge.fury.io/js/rollup-plugin-banner.svg)](https://badge.fury.io/js/rollup-plugin-banner) [!","main":"dist/index.js","scripts":{"build":"gulp","test":"mocha test/index"},"repository":{"type":"git","url":"git+https://github.com/yingye/rollup-plugin-banner.git"},"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/rollup-plugin-banner/issues"},"homepage":"https://github.com/yingye/rollup-plugin-banner#readme","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0.1","chai":"^4.2.0","del":"^3.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","gulp":"^3.9.1","gulp-babel":"8.0.0","gulp-eslint":"^5.0.0","mocha":"^5.2.0","rollup":"^0.67.1"},"dependencies":{"lodash.template":"^4.4.0"},"gitHead":"14341108cab9285d96d8cfae3bc9a685ce2fbad3","_id":"rollup-plugin-banner@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-GX1FCcaxYMbasn92eB/T/92fHdgyZfmE1Ef5nYvbK/hhytfKjFoqEAjseNDzWxaTxvF+BRwfsb38qXoxfZPuFQ==","shasum":"2c48a378e8b6989f0dccafe8b9ee49baa538522a","tarball":"https://registry.npmjs.org/rollup-plugin-banner/-/rollup-plugin-banner-0.1.0.tgz","fileCount":9,"unpackedSize":7662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7jsJCRA9TVsSAnZWagAAJEkP/iGX5Vo8kAq0pfWRizuR\nCwDuFBdUx1oweCH1iax96LxzESHf4eAnvPE9aik/HhCysuFf4m3tlgdcnEws\nsyizkp1W29BFATCFTXPEAXayb8n5+aTJ0g69cXJAaXHcVA4141c3g+5ooArI\n2sibAjs13oFS8+Dv+23eXpq4HB56tzXLaotYpiUzAnAVviIK+8i4OubuYJmW\ndtCuHwk9a0M5qq0dDLRnALYKNrTgAzT3CwQVrpCTX0VQ+/Buknz9GQz5b2XC\n60hg7g4Wu4Y2YJLNlgHmXsb02Tuktrcaeg4kuGQp7P2qaGT1EsC9CXwCCUkq\nr932dmBVkU148AosfaQ6jE5ymsybS8r2TOKEmXnMSyIMdLtyHDuNbh3mcgl7\nQ4FIkBNG76gOmrBquLyP7pZFRzYvCNUwft91mY2cxeVfPbz1eiVOlS8v90dJ\nNiU5N7h4kfJLx2CrjxcWnMqb3yMRha9UgvX8AL9k8JDDREeXUA/nK7pK/T9+\n1IO1ARbQKj2SejW2pKPFGzx5iPEnfWGj/ocxRvSGN5hHscQ+IS3xUZdH/Rt8\nZ/VEQnund+x1t8QNAS9KquFK8JfEtgGhk91MzwhdJ+o2Iu3JQq1VzT7yVepf\nPvlq8fEQ+9tzZXZVWMqBLvWiuZvx0/dpNNK7seiK//hmtCDVMRKGOlGApnd8\nuCR3\r\n=JByC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7oS8MONWzY1rb0S7UpDC8OQPTz3U1O7u5fvJBZvvUpQIhAPT0yS9wNLZVHfPPXU9FLPKjtIO4bb1s8KLxDRQxa6H7"}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-banner_0.1.0_1542339336513_0.7155811300803014"},"_hasShrinkwrap":false},"0.2.0":{"name":"rollup-plugin-banner","version":"0.2.0","description":"Rollup plugin to append content before js bundle","main":"dist/index.js","scripts":{"build":"gulp","test":"mocha test/index"},"keywords":["rollup","rollup-plugin","banner","license"],"repository":{"type":"git","url":"git+https://github.com/yingye/rollup-plugin-banner.git"},"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/rollup-plugin-banner/issues"},"homepage":"https://github.com/yingye/rollup-plugin-banner#readme","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0.1","chai":"^4.2.0","del":"^3.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","gulp":"^3.9.1","gulp-babel":"8.0.0","gulp-eslint":"^5.0.0","mocha":"^5.2.0","rollup":"^0.67.1"},"dependencies":{"lodash.template":"^4.4.0"},"gitHead":"32e70b200590940073f7d3ab5a1cc1cd0c9765fe","_id":"rollup-plugin-banner@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-0cN2SwYZ0F5g2/MwxcP2FUcxN7jv6baGF3YyXJyRnq+vl2KdpfvfciWxUEHUEXY5ZCQEAZDCVAvHIyTmVmaleQ==","shasum":"f62f7ab7335ec1742a6e4a2fb45e07e41c84b0ad","tarball":"https://registry.npmjs.org/rollup-plugin-banner/-/rollup-plugin-banner-0.2.0.tgz","fileCount":9,"unpackedSize":8174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNBtJCRA9TVsSAnZWagAAvkUP/RxCkjjYR7zwsRu/HuOz\nacUSmIsa73VS3M9ZccD7QduDfNnzcAJhWu+wbxzmNQdZQSmUrNOgK9ZpG5s5\ns/kjxlvQBOnyv2BgGxjjL+BuERhIuqqjV2/QfKL1UBLHd1Cqmfk3UyuimwbO\nPMGb5j8GhG8oiNBEmBxFkSc0crkvExOdVnddIqc8CcX/OHElLldBkhNUATtp\nobE3W9nO9hKlxFdBFfMDyBS0G5C5gI3HzAEpfOiAmw+02aRcdyzXCp85Lhnh\n+T/7K2BbS3KDjPFpSX6VMKMm3C2bBU7YnmO2shQD+4GpYsnDBVu0/FYJ3kAu\n+rJsELRjLLoq15vttAWnW37w/XBnxtoyAXMu2qyvfZOGNR5Ki10HLc6wdBjq\nj/SiP6utScKT7banx+lOWoF8nSa0ilLFWgBjlc5EPf8uxev4nlNRihdhlpJf\ntfHUAUhFOky3ZKJovHTYQinIAju7EyrPxFcp0MQlw04IL+Te9IOVQea+u1pX\naGfaYi2AQAXMRJsFeCFei9KJfdHtSKsOoJmHJMRxB8P+PllxsIytkQl2bu+T\n1QECJjTpvgnOj6uf399/IRPF+3aY7ud8E9WI4PMzT22hDkTAr/BpeZ3l8Y5e\nrG+DOxEdrtowSLeTVtmUF0bP4qFWV3PEZFl8AcWj4jtNiNztYSXRze6Bzta8\nugzV\r\n=dcgs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH1tecu+3v3qNAuoWm5dgme+86voVvWrf/SwGFDOPlYBAiAN1jUNoAsMYT+FRJbT/iDjz3+/3Kgel8Z99LR1bHUXFg=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-banner_0.2.0_1546918728326_0.6753181807641537"},"_hasShrinkwrap":false},"0.2.1":{"name":"rollup-plugin-banner","version":"0.2.1","description":"Rollup plugin to append content before js bundle","main":"dist/index.js","scripts":{"build":"gulp","test":"mocha test/index"},"keywords":["rollup","rollup-plugin","banner","license"],"repository":{"type":"git","url":"git+https://github.com/yingye/rollup-plugin-banner.git"},"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/rollup-plugin-banner/issues"},"homepage":"https://github.com/yingye/rollup-plugin-banner#readme","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0.1","chai":"^4.2.0","del":"^3.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","gulp":"^3.9.1","gulp-babel":"8.0.0","gulp-eslint":"^5.0.0","mocha":"^5.2.0","rollup":"^1.1.0"},"dependencies":{"lodash.template":"^4.4.0"},"gitHead":"7201dc90061962422c6f5bd9cb9a4978e211605d","_id":"rollup-plugin-banner@0.2.1","_nodeVersion":"11.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Bs1uIPCsGpKIkNOwmBsCqn+dJ/xaojWk9PNlvd+1MEScddr1yUQlO6McAXi72wJyNWYL+9u9EI2JAZMpLRH92w==","shasum":"f62f26c468530ecea16263da83175079625f9c6f","tarball":"https://registry.npmjs.org/rollup-plugin-banner/-/rollup-plugin-banner-0.2.1.tgz","fileCount":9,"unpackedSize":8174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdR8MNCRA9TVsSAnZWagAAczAP/1YXbprAKRVtNo64yMF/\nDBRuuRofchWdiCG/FOWxay5wIN/7Gny5Krc8GxyoquFXq51vFWbCsT3CbHJj\nq2woIjD1unyrG1+h/B9ZRkTETLAyjKPZqrl1btpoxDsIoEYeu6f+aVYKUglF\n8npbnhXhgCG5uqHBZbQeiocl3JuqCizxIfC0MIhkWps904A/nUWj/IpYDps3\nBatXvpA6xUCsrqEDTdnon1/JSiFn0uHNICsE49/ihDI66VDVvZHLYOeTxeHR\nNiiPFVWi4apm46/UPlGTnBBcXHOC/nVmBkCCVLuNCL9T1BruEHDQ++F+RAAt\nBM4M6V3Q3kIwiJo9aAbewkBzkVTDCNK0sLirBI/OiDN4uZ2MO3tkbmnsCRfF\nsRVhWHqQNo2+utsfR6Ae41xa0Sl+ogcE1tOeGIUzVBUA719GN8oNOyt2yyEA\nz9TGcahE2/ERIr+MB1Qb3vWNe/VXoDgYunFntCmGqM2jE22NXE8J/ovwShKL\nDc8CMwmu+TMHoENm4fKPYmTIqift3YYChlSG/qtpIqoZHePC/LmnJ+kVGxgA\n8EzcAMD5bzt9ayXL7KwQKy65hQH+GErgGsP2Vnn79goHryMSbycS8P48OmdA\ndeo1R/e31CtTqvXplLGFy74LQIxoAGHCXKe72Eg4R9jU/lgPTtVdmAdRlFZh\nUvyD\r\n=Wp8e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCurmD6XBOvfJlXRli8MLAUV/ZTOn3UQKnJq37sm7Oq4gIhANeTw8t2qpMU3YGbmQiBCFhGYa7QEoYzGOm51wJbCuuV"}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-banner_0.2.1_1564984076463_0.25720206635579435"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-15T10:36:23.061Z","0.1.0-rc":"2018-11-15T10:36:23.188Z","modified":"2022-05-16T04:16:07.074Z","0.1.0":"2018-11-16T03:35:36.682Z","0.2.0":"2019-01-08T03:38:48.510Z","0.2.1":"2019-08-05T05:47:56.591Z"},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"description":"Rollup plugin to append content before js bundle","homepage":"https://github.com/yingye/rollup-plugin-banner#readme","repository":{"type":"git","url":"git+https://github.com/yingye/rollup-plugin-banner.git"},"author":{"name":"yingye"},"bugs":{"url":"https://github.com/yingye/rollup-plugin-banner/issues"},"license":"MIT","readme":"# rollup-plugin-banner\n\n[![Build Status](https://travis-ci.org/yingye/rollup-plugin-banner.svg?branch=master)](https://travis-ci.org/yingye/rollup-plugin-banner)\n[![npm version](https://badge.fury.io/js/rollup-plugin-banner.svg)](https://badge.fury.io/js/rollup-plugin-banner)\n[![change-log](https://img.shields.io/badge/changelog-md-blue.svg)](https://github.com/yingye/rollup-plugin-banner/blob/master/CHANGELOG.md)\n\n## Introduction\n\nRollup plugin to append content before js bundle.\n\nThe difference between this plugin and the output.banner parameter provided by the rollup is that the banner will not be cleaned up. For example, your project uses the rollup-plugin-uglify plugin, the output file will not contain the output.banner parameter you set. So you need rollup-plugin-banner to solve this problem.\n\n## Usage\n\nInstall the plugin with NPM:\n\n```\nnpm install --save-dev rollup-plugin-banner\n```\n\nAdd it to your rollup configuration:\n\n```js\nimport banner from 'rollup-plugin-banner'\n\nexport default {\n  plugins: [\n    banner('rollup-plugin-banner v<%= pkg.version %> by<%= pkg.author %>')\n  ]\n}\n\n```\n\n## API\n\nbanner(options)\n\n### options\n\nType: String / Object\n\n#### String\n\nInput:\n\n```\nbanner('rollup-plugin-banner v<%= pkg.version %> by <%= pkg.author %>')\n```\n\nOutput:\n\n```\n// rollup-plugin-banner v0.1.0 by yingye\n```\n\nThe pkg is the content of the project package.json.\n\nIf your text is multi-line, you can use '\\n'.\n\n```\nbanner('rollup-plugin-banner\\nv<%= pkg.version %>\\nby <%= pkg.author %>')\n```\n\noutput:\n\n```\n/**\n* rollup-plugin-banner\n* v0.1.0\n* by yingye\n*/\n```\n\n#### Object\n\n```\nbanner({\n  file: path.join(__dirname, 'banner.txt')，\n  encoding: 'utf-8' // default is utf-8\n})\n```\n","readmeFilename":"README.md","keywords":["rollup","rollup-plugin","banner","license"]}