Skip to content

Commit 4df72f0

Browse files
committed
Initial commit. 🚀
0 parents  commit 4df72f0

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

example/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"use strict";
2+
3+
const githubComments = require("../lib");
4+
5+
console.log(githubComments());

lib/index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"use strict";
2+
3+
/**
4+
* githubComments
5+
* Fetch all the GitHub comments from a repo.
6+
*
7+
* @name githubComments
8+
* @function
9+
* @param {Number} a Param descrpition.
10+
* @param {Number} b Param descrpition.
11+
* @return {Number} Return description.
12+
*/
13+
module.exports = function githubComments (a, b) {
14+
return a + b;
15+
};

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "github-comments",
3+
"description": "Fetch all the GitHub comments from a repo.",
4+
"keywords": [
5+
"github",
6+
"comments",
7+
"fetch",
8+
"all",
9+
"the",
10+
"from",
11+
"a",
12+
"repo"
13+
],
14+
"license": "MIT",
15+
"version": "1.0.0",
16+
"main": "lib/index.js",
17+
"scripts": {
18+
"test": "echo \"Error: no test specified\" && exit 1"
19+
},
20+
"author": "Ionică Bizău <[email protected]> (https://ionicabizau.net)",
21+
"homepage": "https://github.com/IonicaBizau/github-comments#readme",
22+
"files": [
23+
"bin/",
24+
"app/",
25+
"lib/",
26+
"dist/",
27+
"src/",
28+
"resources/",
29+
"menu/",
30+
"cli.js",
31+
"index.js"
32+
],
33+
"repository": {
34+
"type": "git",
35+
"url": "git+ssh://[email protected]/IonicaBizau/github-comments.git"
36+
},
37+
"bugs": {
38+
"url": "https://github.com/IonicaBizau/github-comments/issues"
39+
}
40+
}

0 commit comments

Comments
 (0)