Skip to content

Updater for updating banner comments in JavaScript files.

License

Notifications You must be signed in to change notification settings

update/updater-banners

Repository files navigation

updater-banners NPM version NPM monthly downloads NPM total downloads Linux Build Status Build Status

Updater for updating the banner comments in JavaScript files.

Getting started

Install update

To use this updater, you will first need to install update. If you haven't done so already, you can do that now with the following command:

$ npm install --global update

This adds the update command to your system path, allowing it to be run from any directory.

Install [updater-banners][]

Next, install this updater with the following command:

$ npm install --global updater-banners

Run the updater

Always make sure your work is committed before running any updater! This updater will change the copyright dates in index.js.

Run the updater with the following command:

$ update banners

Options

Specify other files to update (yes, we're using banners --banners to ensure we never conflict with other flags when chaining updaters):

$ update banners --banners foo.js
$ update banners --banners "foo/*.js" 

About

Related projects

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running tests

Running 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:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.4.2, on February 01, 2017.

Sponsor this project

  •  
  •  

Packages

No packages published