Skip to content

Commit 468b932

Browse files
committed
docs: update readme.md
1 parent 965f725 commit 468b932

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ See [online demo](https://yeonjuan.github.io/parse-git-diff/)
2626

2727
## Usage
2828

29+
```js
30+
import parseGitDiff from 'parse-git-diff'; // import
31+
// or
32+
const parseGitDiff = require('parse-git-diff').default; // require
33+
```
34+
2935
```js
3036
import parseGitDiff from 'parse-git-diff';
3137

0 commit comments

Comments
 (0)