0.4.0 • Published 11 years ago
parse-copyright v0.4.0
parse-copyright 
Parse copyright statement(s) into an array of copyright objects.
Install with npm
npm i parse-copyright --saveUsage
var parse = require('parse-copyright');
parse('abc\nCopyright (c) 2013-2015, Jon Schlinkert.\nxyz');Returns an array of copyright objects:
[{
statement: 'Copyright (c) 2013-2015, Jon Schlinkert',
prefix: 'Copyright',
symbol: '(c)',
dateRange: '2013, 2015',
latest: '2015',
author: 'Jon Schlinkert'
}]Run tests
Install dev dependencies:
npm i -d && npm testContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on February 19, 2015.