# copyright-regex

> Regex for matching and parsing copyright statements.

Latest version **1.1.6** (published 2016-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install copyright-regex
pnpm add copyright-regex
yarn add copyright-regex
bun add copyright-regex
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.6 |
| Published | 2016-12-07 |
| First published | 2015-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | copyright, date, expression, parse, regex, regexp, regular, year |

## Links

- npm: https://www.npmjs.com/package/copyright-regex
- Repository: https://github.com/regexhq/copyright-regex
- Issues: https://github.com/regexhq/copyright-regex/issues
- npm.io page: https://npm.io/package/copyright-regex

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.1.6 (latest) — 2016-12-07
- 1.1.5 — 2015-05-25
- 1.1.4 — 2015-02-01
- 1.1.3 — 2015-02-01
- 1.1.2 — 2015-02-01
- 1.1.1 — 2015-02-01
- 1.1.0 — 2015-02-01
- 1.0.0 — 2015-02-01

## README

# copyright-regex [![NPM version](https://img.shields.io/npm/v/copyright-regex.svg?style=flat)](https://www.npmjs.com/package/copyright-regex) [![NPM monthly downloads](https://img.shields.io/npm/dm/copyright-regex.svg?style=flat)](https://npmjs.org/package/copyright-regex)  [![NPM total downloads](https://img.shields.io/npm/dt/copyright-regex.svg?style=flat)](https://npmjs.org/package/copyright-regex) [![Linux Build Status](https://img.shields.io/travis/regexhq/copyright-regex.svg?style=flat&label=Travis)](https://travis-ci.org/regexhq/copyright-regex)

> Regex for matching and parsing copyright statements.

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save copyright-regex
```

## Usage

```js
var regex = require('copyright-regex');

var str = 'abc\nCopyright (c) 2013-2015, 2016, Jon Schlinkert.\nxyz';
var matches = str.match(regex());

// matches[0] => 'Copyright (c) 2013-2015, 2016, Jon Schlinkert'
// matches[1] => 'Copyright'
// matches[2] => '(c)'
// matches[3] => '2013-2015, 2016, '
// matches[4] => '2016'
// matches[5] => 'Jon Schlinkert'
```

## About

### Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).

### Contributors

| **Commits** | **Contributor**<br/> | 
| --- | --- |
| 18 | [jonschlinkert](https://github.com/jonschlinkert) |
| 1 | [arthurvr](https://github.com/arthurvr) |
| 1 | [tunnckoCore](https://github.com/tunnckoCore) |
| 1 | [pdehaan](https://github.com/pdehaan) |

### Building docs

_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_

To generate the readme and API documentation with [verb](https://github.com/verbose/verb):

```sh
$ npm install -g verb verb-generate-readme && verb
```

### Running tests

Install dev dependencies:

```sh
$ npm install -d && npm test
```

### Author

**Jon Schlinkert**

* [github/regexhq](https://github.com/regexhq)
* [twitter/regexhq](http://twitter.com/regexhq)

### License

Copyright © 2016, [Jon Schlinkert](https://github.com/regexhq).
Released under the [MIT license](https://github.com/regexhq/copyright-regex/blob/master/LICENSE).

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on December 07, 2016._

---
_Source: https://npm.io/package/copyright-regex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
