You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@
2
2
3
3
> Regex for matching and parsing copyright statements.
4
4
5
-
## Install with [npm](npmjs.org)
5
+
## Install
6
6
7
-
```bash
8
-
npm i copyright-regex --save
7
+
Install with [npm](https://www.npmjs.com/)
8
+
9
+
```sh
10
+
$ npm i copyright-regex --save
9
11
```
10
12
11
13
## Usage
@@ -24,28 +26,35 @@ var matches = str.match(regex());
24
26
// matches[5] => 'Jon Schlinkert'
25
27
```
26
28
27
-
## Run tests
29
+
## Related projects
30
+
31
+
*[parse-copyright](https://github.com/jonschlinkert/parse-copyright): Parse copyright statement(s) into an array of copyright objects.
32
+
*[update-copyright](https://github.com/jonschlinkert/update-copyright): Update the copyright statement in a string based on globally stored template and values.
33
+
34
+
## Running tests
28
35
29
36
Install dev dependencies:
30
37
31
-
```bash
32
-
npm i -d && npm test
38
+
```sh
39
+
$ npm i -d && npm test
33
40
```
34
41
35
42
## Contributing
36
-
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/regexps/copyright-regex/issues)
37
43
38
-
## Author
44
+
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/regexps/copyright-regex/issues/new)
0 commit comments