Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 6 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /