npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

parse-copyright

0.4.0

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:163
$ npm install parse-copyright
DailyWeeklyMonthlyYearly

parse-copyright NPM version

Parse copyright statement(s) into an array of copyright objects.

Install with npm

npm i parse-copyright --save

Usage

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 test

Contributing

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

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

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


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