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
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
6
4
7
-
A simple text diff component for Angular, based on [diff-match-patch](https://github.com/google/diff-match-patch) & [diff2html](https://github.com/rtfpessoa/diff2html).
| diffChange | string | Optional | Event fired when diff changes. The returned value is the text diff in [unified format](http://fileformats.archiveteam.org/wiki/Unified_diff)
7
+
Run `ng generate component component-name --project ngx-diff2html` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-diff2html`.
8
+
> Note: Don't forget to add `--project ngx-diff2html` or else it will be added to the default project in your `angular.json` file.
86
9
87
10
## Build
88
11
@@ -92,6 +15,10 @@ Run `ng build ngx-diff2html` to build the project. The build artifacts will be s
92
15
93
16
After building your library with `ng build ngx-diff2html`, go to the dist folder `cd dist/ngx-diff2html` and run `npm publish`.
94
17
95
-
## License
18
+
## Running unit tests
19
+
20
+
Run `ng test ngx-diff2html` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+
## Further help
96
23
97
-
This project is licensed under the [MIT](LICENSE) license.
24
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
0 commit comments