update-license

0.3.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i update-license

Weekly Downloads

1

Version

0.3.0

License

none

Last publish

Collaborators

  • jonschlinkert