{"_id":"update-banner","_rev":"7-d44dab1fae0115858eefb69c37ba7982","name":"update-banner","description":"Update the banner comment in a string of javascript.","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"update-banner","description":"Add or update a banner in a string.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/update-banner","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/update-banner.git"},"bugs":{"url":"https://github.com/jonschlinkert/update-banner/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/update-banner/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"files":["index.js"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["banner","copyright","update"],"dependencies":{"load-pkg":"^1.0.0","lodash":"^2.4.1","parse-author":"^0.1.0","parse-authors":"^0.2.2","strip-banner":"^0.1.1","update-copyright":"^0.1.0"},"gitHead":"1017d59e8367f9894cd21e30aac1d6931710c843","_id":"update-banner@0.1.0","_shasum":"e0cac2a737d4191103030a296d9334711823a852","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e0cac2a737d4191103030a296d9334711823a852","tarball":"https://registry.npmjs.org/update-banner/-/update-banner-0.1.0.tgz","integrity":"sha512-IZDSix/iTpsq+YkPAkHJIhgPvj1uNua8PRa+hS12ZznEriei1r2wiBmBwpl6NL12T3xwvheBQSPHkVQeaE+gLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3l9Fxy7Jp41Nhrvm01Tnf5n94j7rB2E8fpqtt+d7A9QIgJGti1EQ7/7MX0B83jaxYf2O+pYKznKHPWRVJS5f6dMA="}]}},"0.1.1":{"name":"update-banner","description":"Add or update a banner in a string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/update-banner","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/update-banner"},"bugs":{"url":"https://github.com/jonschlinkert/update-banner/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"load-pkg":"^1.0.0","lodash":"^3.2.0","parse-author":"^0.1.0","parse-authors":"^0.2.2","strip-banner":"^0.1.1","update-copyright":"^0.1.0"},"devDependencies":{"mocha":"*"},"keywords":["banner","copyright","update"],"gitHead":"66dd25212bcc1bd9c882dd74cc2a2fba86c21e14","_id":"update-banner@0.1.1","_shasum":"a025d609be175f359701c43e33c9fac9bb08a821","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a025d609be175f359701c43e33c9fac9bb08a821","tarball":"https://registry.npmjs.org/update-banner/-/update-banner-0.1.1.tgz","integrity":"sha512-CyKW6VLsxxlq0UGHbMr9iFxY0SmdoGHdMqXCvbZVO22LZJwCtk1ZaJYCyOBa2ers4SP/XSNh1kO0JLqZYSd0+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxRZbR98DCfvCwZBjNAOcOsOvvzLNXdAXoV2xZMu8LFQIhANRUP5WdkMJfoHL/b85xG+qNKWnusc9QJ4trJZm67eSb"}]}},"0.2.0":{"name":"update-banner","description":"Update the banner comment in a string of javascript.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/update-banner","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/update-banner.git"},"bugs":{"url":"https://github.com/jonschlinkert/update-banner/issues"},"license":"MIT","files":["index.js","lib","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"engine-base":"^0.1.2","extend-shallow":"^2.0.1","extract-banner":"^0.1.2","isobject":"^3.0.0","lazy-cache":"^2.0.2","parse-author":"^1.0.0","strip-banner":"^0.2.0","update-copyright":"^0.2.4"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["banner","copyright","fix","lint","linter","maintain","maintainance","plugin","plugins","up-to-date","update","update-plugin","update-updater","updateplugin","updater","upkeep"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["extract-banner","strip-banner","update-copyright"]},"reflinks":["update-copyright","verb"],"lint":{"reflinks":true}},"gitHead":"41376244b483f5d9b7e657312ac07cddc132c9af","_id":"update-banner@0.2.0","_shasum":"9d127cf30dbfe0e70ddca75d1173574661d427df","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9d127cf30dbfe0e70ddca75d1173574661d427df","tarball":"https://registry.npmjs.org/update-banner/-/update-banner-0.2.0.tgz","integrity":"sha512-tb3NmtOuFeuj19cX+89F77ibRv8HYoQDMfoVmtigsLpaPJSviWHvUEpSwufIlz3xcLNcYKSUFz8nX18uucgXkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc4dC6sk5jlzY32ALofdlkfczYeAIiy5Ryrc5EEuwD4QIhAP8M9q3g0QOiM0l83/ewLwoC5X8jFcPwO94pgGOAClV5"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/update-banner-0.2.0.tgz_1485970924171_0.8745658909901977"}}},"readme":"# update-banner [![NPM version](https://img.shields.io/npm/v/update-banner.svg?style=flat)](https://www.npmjs.com/package/update-banner) [![NPM monthly downloads](https://img.shields.io/npm/dm/update-banner.svg?style=flat)](https://npmjs.org/package/update-banner)  [![NPM total downloads](https://img.shields.io/npm/dt/update-banner.svg?style=flat)](https://npmjs.org/package/update-banner) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/update-banner.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/update-banner)\n\n> Update the banner comment in a string of javascript.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save update-banner\n```\n\n## Usage\n\nIn existing banners, copyright statements are updated using [update-copyright](https://github.com/jonschlinkert/update-copyright). If the string does not have a banner one will be added using a [template](#options.template).\n\n```js\nvar banner = require('update-banner');\nvar str = fs.readFileSync('index.js', 'utf8');\nbanner(str);\n```\n\nPass a custom template and/or data:\n\n```js\nvar copyright = 'Copyright (c) 2015, Jon Schlinkert.';\n\nconsole.log(banner('/* <%= copyright %> */\\n', {\n  copyright: copyright \n}));\n//=> '/* Copyright (c) 2015, Jon Schlinkert. */\\n'\n```\n\n## Options\n\n### options.template\n\nCustomize the [template](lib/template.js) to use for creating a banner.\n\n**Example**\n\nThis is the default template\n\n```js\n/*!\n * <%= name %> <<%= repository %>>\n *\n * <%= copyright %>\n * Released under the <%= license %> License.\n */\n\n```\n\n## About\n\n### Related projects\n\n* [extract-banner](https://www.npmjs.com/package/extract-banner): Extract a banner comment from a string of javascript. | [homepage](https://github.com/jonschlinkert/extract-banner \"Extract a banner comment from a string of javascript.\")\n* [strip-banner](https://www.npmjs.com/package/strip-banner): Strip banners from code. | [homepage](https://github.com/jonschlinkert/strip-banner \"Strip banners from code.\")\n* [update-copyright](https://www.npmjs.com/package/update-copyright): Update a copyright statement with the current year. Also makes minor corrections. | [homepage](https://github.com/jonschlinkert/update-copyright \"Update a copyright statement with the current year. Also makes minor corrections.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nMIT\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 01, 2017._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-28T05:34:48.441Z","created":"2015-02-05T05:00:11.632Z","0.1.0":"2015-02-05T05:00:11.632Z","0.1.1":"2015-02-23T22:05:31.882Z","0.2.0":"2017-02-01T17:42:05.901Z"},"homepage":"https://github.com/jonschlinkert/update-banner","keywords":["banner","copyright","fix","lint","linter","maintain","maintainance","plugin","plugins","up-to-date","update","update-plugin","update-updater","updateplugin","updater","upkeep"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/update-banner.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/update-banner/issues"},"license":"MIT","readmeFilename":"README.md"}