update-license
Update the year in license files.
Last updated 11 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install update-license 
SYNC missed versions from official npm registry.

update-license NPM version

Update copyright information in a MIT license.

Install with npm

npm i update-license --save

Usage

var license = require('update-license');

Pass a license string with copyright information to update (currently only supports MIT):

var fs = require('fs');
var str = fs.readFileSync('LICENSE-MIT', 'utf8')
license(str);

If you want to change any information, you can pass it on the options:

license(str, {author: 'Foo Bar'});

See update-copyright.

Run tests

Install dev dependencies:

npm i -d && npm test

Contributing

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

Author

Jon Schlinkert

License

Copyright (c) 2015-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on February 19, 2015.

Current Tags

  • 0.3.0                                ...           latest (10 years ago)

4 Versions

  • 0.3.0                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE