Skip to content

Commit a342fd8

Browse files
authored
Merge pull request #1 from code-yeongyu/readme-badges
`README` 에 여러 badge 를 추가합니다.
2 parents 718adff + 74b3713 commit a342fd8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h1 align="center">TrackPurchase</h1>
44
</p>
55

6-
[![NPM version](https://badgen.net/npm/v/trackpurchase)](https://www.npmjs.com/package/trackpurchase)
6+
[![NPM version](https://badgen.net/npm/v/trackpurchase)](https://www.npmjs.com/package/trackpurchase) [![codecov](https://codecov.io/gh/code-yeongyu/TrackPurchase/branch/master/graph/badge.svg?token=UCZC198HMK)](https://codecov.io/gh/code-yeongyu/TrackPurchase) [![CI](https://github.com/code-yeongyu/TrackPurchase/actions/workflows/ci.yml/badge.svg)](https://github.com/code-yeongyu/TrackPurchase/actions/workflows/ci.yml)
77

88
> 단 몇줄만의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
99
@@ -24,14 +24,14 @@ yarn add trackpurchase
2424
### 네이버 페이
2525

2626
```typescript
27-
import { NaverApp } from "trackpurchase"
28-
const browser = await puppeteer.launch()
29-
const page = await browser.newPage()
27+
import { NaverApp } from "trackpurchase";
28+
const browser = await puppeteer.launch();
29+
const page = await browser.newPage();
3030

31-
const module = NaverApp.ModuleFactory.create(page)
32-
const crawlService = new NaverApp.Service(module)
31+
const module = NaverApp.ModuleFactory.create(page);
32+
const crawlService = new NaverApp.Service(module);
3333

34-
await crawlService.login(id, password)
35-
const history = await crawlService.getHistory()
36-
console.log(history)
34+
await crawlService.login(id, password);
35+
const history = await crawlService.getHistory();
36+
console.log(history);
3737
```

0 commit comments

Comments
 (0)