We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6648685 commit bfc9919Copy full SHA for bfc9919
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "text-file-diff",
3
- "version": "1.0.1",
+ "version": "1.0.2",
4
"description": "line by line diff of two large files",
5
"license": "MIT",
6
"repository": "niiknow/text-file-diff",
@@ -19,9 +19,7 @@
19
"bin": {
20
"text-file-diff": "./bin/text-file-diff"
21
},
22
- "files": [
23
- "index.js"
24
- ],
+ "main": "index.js",
25
"keywords": [
26
"diff",
27
"difference",
readme.md
@@ -20,6 +20,7 @@ $ npm install text-file-diff
## Usage
```js
import TextFileDiff from 'text-file-diff';
+ const m = new TextFileDiff();
m.on('-', line => {
// when a line is in file1 but not in file2
0 commit comments