Skip to content

Commit

Permalink
publish v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycodeboy committed Apr 18, 2020
1 parent 27b6ed7 commit beb6431
Show file tree
Hide file tree
Showing 65 changed files with 24 additions and 9,725 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHubTrending

[![Download](https://img.shields.io/badge/Download-v3.1.6-ff69b4.svg) ](https://www.npmjs.com/package/GitHubTrending)
[![Download](https://img.shields.io/badge/Download-v5.0.0-ff69b4.svg) ](https://www.npmjs.com/package/GitHubTrending)
[ ![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](https://github.com/crazycodeboy/GitHubTrending/pulls)

This is a library for fetch object data from "https://github.com/trending".
Expand All @@ -14,7 +14,8 @@ Run `npm i GitHubTrending --save`
## Usage

```JavaScript
new GitHubTrending().fetchTrending(url)
const AUTH_TOKEN = '从问答区https://coding.imooc.com/learn/qa/304.html获取的token';
new GitHubTrending(AUTH_TOKEN).fetchTrending(url)
.then((data)=> {
//
}).catch((error)=> {
Expand Down
6 changes: 0 additions & 6 deletions examples/.buckconfig

This file was deleted.

4 changes: 0 additions & 4 deletions examples/.eslintrc.js

This file was deleted.

99 changes: 0 additions & 99 deletions examples/.flowconfig

This file was deleted.

1 change: 0 additions & 1 deletion examples/.gitattributes

This file was deleted.

59 changes: 0 additions & 59 deletions examples/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions examples/.prettierrc.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/.watchmanconfig

This file was deleted.

101 changes: 0 additions & 101 deletions examples/App.js

This file was deleted.

14 changes: 0 additions & 14 deletions examples/__tests__/App-test.js

This file was deleted.

55 changes: 0 additions & 55 deletions examples/android/app/BUCK

This file was deleted.

Loading

0 comments on commit beb6431

Please sign in to comment.